public EnrollmentController(IRepositoryService <Enrollment> enrollmentService,
                             IRepositoryServiceGet <Course> courseService,
                             IRepositoryService <Student> studentService)
 {
     this.enrollmentService = enrollmentService;
     this.courseService     = courseService;
     this.studentService    = studentService;
 }
예제 #2
0
 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;
 }