Detached the DbContext for its implementation and added a DI for the Controllers.