In a DDD project, I have this structure:
Infrastructure
- MyProj.Library (contains helper methods)
- MyProj.Factory (contains methods for IoC and DI)
- MyProj.Data (contains an implementation of IUserRepository)
Domain
- MyProj.Domain (contains the domain aggregates and repository interfaces, i.e. IUserRepository)
Application
- MyProj.WebAPI
I need to know if MyProj.Data belongs to the Infrastructure layer or Domain layer. I am really confused where the implemented repositories belongs.
