Example #1
0
 public StudentController(ICourseDatabase courseDB, IStudentDatabase studentDB, ICourseStudentDatabase csDB, IReviewDatabase reviewDB, UserManager <CourseHelperUser> userManager)
 {
     this.courseDB    = courseDB;
     this.studentDB   = studentDB;
     this.csDB        = csDB;
     this.reviewDB    = reviewDB;
     this.userManager = userManager;
 }
 public AccountController(UserManager <CourseHelperUser> userManager, SignInManager <CourseHelperUser> signInManager, IStudentDatabase studentDB, IUserValidator <CourseHelperUser> usrVal, IPasswordValidator <CourseHelperUser> pswdVal, IPasswordHasher <CourseHelperUser> pswdHash)
 {
     this.userManager       = userManager;
     this.signInManager     = signInManager;
     this.studentDB         = studentDB;
     this.userValidator     = usrVal;
     this.passwordValidator = pswdVal;
     this.passwordHasher    = pswdHash;
 }
 public CourseController(ICourseDatabase courseDB, IStudentDatabase studentDB, ICourseStudentDatabase csDB)
 {
     this.courseDB  = courseDB;
     this.studentDB = studentDB;
     this.csDB      = csDB;
 }