Added migration to fix a datetime column type bug.
Changed type to datetime2.
Added (default) parameter to the constructor to enable or disable auto saving of the context when issuing a call to any method on the UserManager.
Changed private method CreateUserStore to return a UserStore object instead of a IUserStore.
Removed property Db and changed implementation of the UserManager property to use the UserManager property of the newly added UoW property.
AccountController derives from BaseApiController.
Renamed UserManager of the AccountController to Manager because of hiding base class variable.
Replaced calls to the Db property with calls to the UoW (UnitOfWork) property.
Changed access modifier from public to private.
Added interface for the GenericRepository, and added an interface for the UnitOfWork.
All to make future extensions or additional implementation possible.
Made GenericRepository derive from the IGenericRepository.
Derived UnitOfWork from the IUnitOfWork and changed return types of the required properties.
Changed the type of the UoW property to be off type IUnitOfWork.