This is a practice project for ASP.NET MVC4
##Things I made or used in this project:
-
Repository and Unit of Work patterns
I created a repository interface and a repository class for each entity type in the model
I also created a generic RepositoryBase class which contains concrete implementations of the methods that are common in all repository classes - defined in Irepository interface
-
I used StructureMap as my Dependency Injection Container
-
I used Moq to create mocks in my unit tests
-
I defined ViewModels and used them in creating or editing entity objects to prevent overposting attacks