In a DDD project, I have this structure:
Infrastructure
Domain
Application
I need to know if MyProj.Data belongs to the Infrastructure layer or Domain layer. I am really confused where the implemented repositories belongs.
Typically you would have the repository implementation in the infrastructure layer and the repository interfaces in the domain layer.
As an example, have a look at the Onion Architecture which states
Inner layers define interfaces. Outer layers implement interfaces
In this simple implementation of the Onion Architecture, the VisitorRepository is residing in the Infrastructure layer and implements IVisitorRepository found in the Core (Domain) layer.