public ApplicationUser() { var dbContext = new WebsiteDatabaseContext(); _manager = new RightsManager(dbContext, new ApplicationUserManager(new UserStore <ApplicationUser>(dbContext))); }
public RightsController(IRightsManager <RightViewModel, RoleViewModel, UserViewModel> manager) { Manager = manager; }