public CreateController ( UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, RoleManager <IdentityRole> roleManager, PreSchoolDBRepository repository ) { this.userManager = userManager; this.signInManager = signInManager; this.roleManager = roleManager; this.repository = repository; }
public LoginController(//IdentityDbContext identityContext, UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, RoleManager <IdentityRole> roleManager, PreSchoolDBRepository repository) { //this.identityContext = identityContext; this.userManager = userManager; this.signInManager = signInManager; this.roleManager = roleManager; this.repository = repository; // identityContext.Database.EnsureCreated(); }
public HomeController(PreSchoolDBRepository repository) { this.repository = repository; }
public TeacherController(PreSchoolDBRepository repository) { this.repository = repository; }
public ParentController(PreSchoolDBRepository repository) { this.repository = repository; }