MVC4 Web API
Visual Studio project:
MementoWeb
The Web API project uses dependency injection in the form of constructor injection on the Controller classes, for example:
public CategoryController( IDataRepository dataRepository )
{
_dataRepository = dataRepository;
}
The dependencies are managed using
NInject, and the dependency mappings are set up in the class NinjectWebCommon.cs in the App_Start folder
Controllers
- Category
- CategoryGroup
- Home
- Person
- Project
- Task
- WorkCategory
- WorkLog
- WorkLogReport