DEV Community

Discussion on: Leaky abstraction and clean architecture template

Collapse
 
moesmp profile image
Mohsen Esmailpour

In this scenario, all domain models are anemic and there is no logic inside domain models. In .NET space most of the time models don't have behavior and logic exists inside service classes and mocking a repo inside service class can't be avoided.