Esempio n. 1
0
 public CourseController(
     ICourseCreator courseCreator,
     ICourseUpdater courseUpdater,
     ICourseGetter courseGetter,
     ICourseDeleter courseDeleter)
 {
     _courseCreator = courseCreator;
     _courseUpdater = courseUpdater;
     _courseGetter  = courseGetter;
     _courseDeleter = courseDeleter;
 }
Esempio n. 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;
        }