Exemple #1
0
 public CoursesController(IInstructorService instructorService, ICourseService courseService, ICourseInstructorService courseInstructorService, ICategoryService categoryService)
 {
     _instructorService       = instructorService;
     _courseService           = courseService;
     _courseInstructorService = courseInstructorService;
     _categoryService         = categoryService;
 }
 public InstructorsController(IInstructorService instructorService, ICourseService courseService, ICityService cityService, ICourseInstructorService courseInstructorService)
 {
     _instructorService       = instructorService;
     _courseService           = courseService;
     _cityService             = cityService;
     _courseInstructorService = courseInstructorService;
 }