destroyData
Call destroyedData with the data returned from underlying behavior's implementation of
destroyData.
destroyData(params, cid)
Extends the underlying behavior's destroyData to call destroyedData with the returned
response data. The result of the call to destroyedData will be used as the new response data.
Parameters
- instanceData
{Object}:the raw data of an instance
Returns
{Promise<Object>}:
Promise resolving the raw response data, possibly modified by destroyedData.