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;
 }
 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;
 }