First I decided to create one Interface called it IDataAccessLayer
and started putting everything into it: methods like GetUsers()
, GetUser(i
Did you go through these tutorials.
First here is an overall article about n-tier architecture using the Repository and UnitOfWork principles: link. I have some experience working with EF and the afore mentioned patterns and I found this article of great help.
Take a look here as well as here for the MSDN articles on those principles.
Regards.
You might take a look at this sample (MVCArch) I've written some months ago. It takes advantages of :
Hope this helps.