public RandomSlotsGenerator(IRoomsRandomizer roomsRandomizer, ISubjectsRepository subjects, IInstructorsRepository instructors, int slotsCount = 80) { _roomsRandomizer = roomsRandomizer; _subjectsRepository = subjects; _instructorsRepository = instructors; _slotsCount = slotsCount; }
public HomeController(IInstructorsRepository instructorsRepository, IStudentsRepository studentsRepository, ICoursesRepository coursesRepository, ILogger <HomeController> logger) { _logger = logger; _instructorsRepository = instructorsRepository; _studentsRepository = studentsRepository; _coursesRepository = coursesRepository; }
public SchoolUow(DbContext context, ICoursesRepository courses, IAsyncRepository<Department> departments, IStudentsRepository students, IInstructorsRepository instructors, IEnrollmentsRepository enrollments, IRepository<OfficeAssignment> offices) { _dbContext = context; _dbContext.Configuration.LazyLoadingEnabled = false; _courses = courses; _departments = departments; _students = students; _instructors = instructors; _enrollments = enrollments; _offices = offices; }
public InstructorsService(IInstructorsRepository instructorsRepository) { _instructorsRepository = instructorsRepository; }
public InstructorsController(IInstructorsRepository instructorsRepository, IDepartmentsRepository departmentsRepository) { _instructorsRepository = instructorsRepository; _departmentsRepository = departmentsRepository; }
public InstructorsController(IInstructorsRepository instructorsRepository, SchoolContext context) { _instructorsRepository = instructorsRepository; _context = context; }
public InstructorsController(IInstructorsRepository instructorsRepository ) { _instructorsRepository = instructorsRepository; }