public RoleRepositoryImpl() { context = new IUERM_RSchedEntities(); roleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(new ApplicationDbContext())); userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(new ApplicationDbContext())); }
public UserRepositoryImpl(IRoleRepository roleRepository) { this.roleRepository = roleRepository; context = new IUERM_RSchedEntities(); userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(new ApplicationDbContext())); }