public EnrollmentController(IRepositoryService <Enrollment> enrollmentService, IRepositoryServiceGet <Course> courseService, IRepositoryService <Student> studentService) { this.enrollmentService = enrollmentService; this.courseService = courseService; this.studentService = studentService; }
public InstructorController(IRepositoryService <Instructor> instructorService, IRepositoryServiceGet <Course> courseService, IRepositoryService <Enrollment> enrollmentService) { this.instructorService = instructorService; this.courseService = courseService; this.enrollmentService = enrollmentService; }
public CourseController(IRepositoryServiceGet <Course> courseService, IRepositoryService <Department> departmentService) { this.courseService = courseService; this.departmentService = departmentService; }