Understood. I suppose I'm trying to only use the Services pattern, for that very reason. But I don't know the specific BL yet, so I was hoping to be able to use a generic service in my own Service project.
For instance, suppose I wanted to always soft delete instead of hard delete data for every model. I could override the Delete method in a single generic Service to set a common IsDeleted flag instead of _repo.Delete()...
To do so would require modifying the abstract Entity class. What else might be required for such a use case?
For instance, suppose I wanted to always soft delete instead of hard delete data for every model. I could override the Delete method in a single generic Service to set a common IsDeleted flag instead of _repo.Delete()...
To do so would require modifying the abstract Entity class. What else might be required for such a use case?