In my recent post, I explained how to implement a decoupled, unit-testable, N tier architecture based on Generic Repository Pattern with Entity Framework, IoC Container and Dependency Injection in ASP.NET MVC, then I got feedback against the repository/Unit of Work pattern. On googling, I found some more posts: Say No to the Repository Pattern in your DAL Repositories On Top UnitOfWork Are Not a G
![N-Layered App with Entity Framework, Autofac, ASP.NET MVC and Unit Testing - TechBrij](https://cdn-ak-scissors.b.st-hatena.com/image/square/19436b8621c98f948277267427c51b1c90ad18e7/height=288;version=1;width=512/https%3A%2F%2Ftechbrij.com%2Fimg%2F1293%2Fef-model-context.png)