asp.net mvc - MVC Data access logic -
i know many people have asked question still don't have clear understanding should data access layer in mvc project. here do:
- i have web application , data access layer in separate projects
- in data access project have 1 class (which have named "db") processes requests database
- and when need example list books call db.getallbooks(); controller
is practice or should have separate class books operations, user operations etc in data access layer?
Comments
Post a Comment