Пример #1
0
 public EmployeesController(
     IEmployeesProvider employeesProvider,
     IEmployeeDestructor employeeDestructor,
     IEmployeeUpdater employeeUpdater,
     IEmployeeCreator employeeCreator,
     IDepartmentsProvider departmetmentsProvider,
     ICoursesProvider coursesProvider,
     IMailService mailService)
 {
     _employeesProvider      = employeesProvider;
     _departmetmentsProvider = departmetmentsProvider;
     _employeeDestructor     = employeeDestructor;
     _employeeUpdater        = employeeUpdater;
     _coursesProvider        = coursesProvider;
     _employeeCreator        = employeeCreator;
     _mailService            = mailService;
 }
Пример #2
0
        public UniversityController(

            IDepartmentsProvider departmentsProvider,
            IDepartmentDestructor departmentDestructor,
            IDepartmentCreator departmentCreatpr,
            IDepartmentUpdater departmentUpdater,
            ICoursesProvider coursesProviderd,
            ICourseCreator courseCreator,
            ICourseDestructor courseDestructor,
            ICourseUpdater courseUpdater,
            IEmployeesProvider employeesProvider,
            ITemplatesProvider templatesProvider)
        {
            _departmentsProvider  = departmentsProvider;
            _departmentDestructor = departmentDestructor;
            _departmentCreatpr    = departmentCreatpr;
            _departmentUpdater    = departmentUpdater;
            _courseCreator        = courseCreator;
            _courseDestructor     = courseDestructor;
            _courseUpdater        = courseUpdater;
            _employeesProvider    = employeesProvider;
            _templatesProvider    = templatesProvider;
            _coursesProvider      = coursesProviderd;
        }