I have a custom validation class I created as shown here PIC1.
I use a 3-tier architecture in ASP.NET MVC. My presentation layer depends on the business logic layer, and the business logic layer depends on the data access layer.
IMG2
Now my problem is that I can’t access this custom class that I wrote in the data access layer – how could I access it?
I have tried to change the projects references but nothing is working
EbrahemOts is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
In a 3-Tier Architecture, the data access layer is responsible for connecting to the database to send and receive data.
The business logic layer is responsible for managing the logic applied to the data sent to or received from the database.
The presentation layer is responsible for displaying the required data to the user.
Muhammad Sajid Khan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.