Click here to Skip to main content
13,900,985 members
Rate this:
Please Sign up or sign in to vote.
See more:
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?


What I have tried:

Updated 4-Feb-19 1:34am
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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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 " mvc tutorial" provides plenty of results to get you started. mvc tutorial - Google Search[^]

Tutorial is first result

Getting Started with ASP.NET MVC 5 | Microsoft Docs[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190306.1 | Last Updated 4 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100