Click here to Skip to main content
15,884,861 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
i am trying to build a MVC project with 3 layer architecture but i dont know how to connect the UI(views and controllers) to the DB using using BOL
can any one send me an example or link that explain it?

thanks
Rivka

What I have tried:

******************************************************************
Posted
Updated 4-Feb-19 1:34am
Comments
F-ES Sitecore 4-Feb-19 7:33am    
In MVC the model holds your data so have that model class use your BOL layer to read\write its data.

 
Share this answer
 
Given the broadness of your question and the fact that no one can quickly teach you the in's and out's of MVC, i'd recommend you start with some tutorials. Also, part of learning how to code/program is using your analytical skills to figure things out (not meant as rude, just a truth) so another suggestion would be to try to figure things out first on your own. A simple google search of "asp.net mvc tutorial" provides plenty of results to get you started.

asp.net mvc tutorial - Google Search[^]

Tutorial is first result

Getting Started with ASP.NET MVC 5 | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900