コード例 #1
0
 public CoordinatorController(UserManager <AppUser> userMgr, AppIdentityDbContext identCtx,
                              ApplicationDbContext ctx, SignInManager <AppUser> singInMgr, IDesiredCourseRepository desRepo,
                              ICourseRepository couRepo)
 {
     userManager             = userMgr;
     identitycontext         = identCtx;
     context                 = ctx;
     signInManager           = singInMgr;
     desiredCourseRepository = desRepo;
     courseRepository        = couRepo;
 }
コード例 #2
0
 public InstructorController(UserManager <AppUser> userMgr, AppIdentityDbContext identCtx,
                             SignInManager <AppUser> singInMgr, IDepartmentRepository depRepo,
                             IDesiredCourseRepository desRepo, ApplicationDbContext ctx)
 {
     context                 = ctx;
     userManager             = userMgr;
     identitycontext         = identCtx;
     signInManager           = singInMgr;
     departmentRepository    = depRepo;
     desiredCourseRepository = desRepo;
 }