Should services always return DTOs, or can they also return domain models?
it doesn’t feel right when domain model leaves business layer (service layer) Makes you feel like you are pulling the guts out right? According to Martin Fowler: the Service Layer defines the application’s boundery, it encapsulates the domain. In other words it protects the domain. Sometimes service needs to return data object that wasn’t defined … Read more