I'm interested in ASP.NET MVC architecture. How do I get data from a database? ASP.NET videos and tutorials show that all data should be processed in models, so I thought this was the way to go. I started a new job, and here they prefer to receive data in controllers.
What is the most correct way? I know this can lead to a long answer, so if you know any sites, articles, blogs or what ever and subject, you can just post it :)
Thanks in advance.
, , , , -, . , SQL- - . page_load -, . - URL-. .
MVC . Professional ASP.NET MVC 1.0 . → new trough , .
, , S arp arectecture . MVC, , . , , , .