Ejemplo n.º 1
0
 public DepartmentsController(IMapper mapper, IServiceDepartment serviceDepartment, IServiceInstructor serviceInstructor, MySchoolContext context)
 {
     _mapper            = mapper;
     _context           = context;
     _serviceDepartment = serviceDepartment;
     _serviceInstructor = serviceInstructor;
 }
Ejemplo n.º 2
0
 public CoursesController(IMapper mapper, IServiceCourse serviceCourse, IServiceDepartment serviceDepartment)
 {
     _mapper            = mapper;
     _serviceCourse     = serviceCourse;
     _serviceDepartment = serviceDepartment;
 }
Ejemplo n.º 3
0
 public DepartmentController(IServiceDepartment serviceDepartment)
 {
     this.service = serviceDepartment;
 }
Ejemplo n.º 4
0
 public GridEmployeeController(IServiceEmployee serviceEmployee, IServiceDepartment serviceDepartment)
 {
     this.service           = serviceEmployee;
     this.departmentService = serviceDepartment;
 }