public UnitOfWork(SchedulingDbContext context) { this.context = context; ScheduleConfigurations = new ScheduleConfigurationRepository(context); Types = new TypeRepository(context); Rooms = new RoomRepository(context); Courses = new CourseRepository(context); Sections = new SectionRepository(context); AcademicSemesters = new AcademicSemesterRepository(context); WeekDays = new WeekDayRepository(context); Instructors = new InstructorRepository(context); Curriculums = new CurriculumRepository(context); CourseOfferings = new CourseOfferingRepository(context); CourseOfferingInstructorAssignments = new InstructorAssignmentRepository(context); Departments = new DepartmentRepository(context); Colleges = new CollegeRepository(context); Buildings = new BuildingRepository(context); LabTypes = new LabTypeRepository(context); ScheduleEntries = new ScheduleEntryRepository(context); Schedules = new ScheduleRepository(context); }