3

I have a web application using asp.net mvc 5 decoupled architecture n-layers. I have 4 layers:

  • Entities (all entities using code first).
  • Data (layer of data access and generic repository) reference to Entities.
  • Bussiness (login of bussiness) reference to Entities and Data.
  • Presentation (mvc 5 web application) reference to Entities and Bussiness.

In my web application i am using identity authentication. The problem is this, I need to create a unique context in which identity mix tables with my classes of Entities layer. How do I pass the context to the Data layer and to add custom entities of Entities layer?

aChaLop
  • 41
  • 5

0 Answers0