FluentCMS
FluentCMS copied to clipboard
Should repository's `Delete` method return `Entity` or `bool` or `guid`?
Returning entity can be useful in cases where the client might need a record of what was deleted.
Most of times we don't need result of DELETE, if returning Entity requires running Database query, It may not be efficient.
I think returning bool or GUID is better.