Clean architecture, how to register dbcontext
So in Presentation layer that's where API (controller) will be. Also that's an entry point for application.
As this is entry of application, it has to do registrations of all services
How to register Infrastructure layer? It has implementation of interfaces and dbcontext
Somehow I have feeling that Presentation should know nothing about Infrastructure layer yet there are implementation of interfaces that are inside of Application
As this is entry of application, it has to do registrations of all services
How to register Infrastructure layer? It has implementation of interfaces and dbcontext
Somehow I have feeling that Presentation should know nothing about Infrastructure layer yet there are implementation of interfaces that are inside of Application