public HomeController() { projectsRepository = new ProjectsRepository(db); coursesRepository = new CoursesRepository(db); usersRepository = new UsersRepository(db); submissionsRepository = new SubmissionsRepository(db); }
public ProjectTasksController() { projectTasksRepository = new ProjectTasksRepository(db); coursesRepository = new CoursesRepository(db); projectsRepository = new ProjectsRepository(db); submissionsRepository = new SubmissionsRepository(db); userCoursesRepostiory = new UserCoursesRepository(db); }
public UsersController() { store = new UserStore <ApplicationUser>(db); userManager = new UserManager <ApplicationUser>(store); usersRepository = new UsersRepository(db); userCoursesRepository = new UserCoursesRepository(db); coursesRepository = new CoursesRepository(db); submissionsRepository = new SubmissionsRepository(db); }
public SubmissionsController() { submissionsRepository = new SubmissionsRepository(db); coursesRepository = new CoursesRepository(db); }
/* * Initialization. */ public SubmissionsHelper(ApplicationDbContext context) { submissionRepository = new SubmissionsRepository(context); }
public ProjectsController() { projectsRepository = new ProjectsRepository(db); coursesRepository = new CoursesRepository(db); submissionsRepository = new SubmissionsRepository(db); }