Service handling DELETE, what to return

Hi,

Can you please guide what is best pratice to return on a service handling delete.

If it deletes the object, what should i return from the service?

Thx!

Regards Kristian

You can return void, an empty object, the deleted object or the deleted Id, it ultimately doesn’t matter. If your clients don’t need the response type just return void and mark your Request DTOs with IReturnVoid

Thx for the guidiance mythz!