Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LearningLineController"/> class.
 /// </summary>
 /// <param name="goalService">Provides specific data operations for the <see cref="Goal"/> model.</param>
 /// <param name="activityLoggerService">When overridden in a derived form, provides functionality for loggers that handle events raised by the url that the request came through.</param>
 public LearningLineController(IGenericService <LearningLine> learningLineService, IGenericService <Goal> goalService, IObjectFinderService <Goal> goalFinder, IManyToManyMapperService <LearningLine, LearningLineGoal, Goal> mapperService)
 {
     this.learningLineService = learningLineService;
     this.goalService         = goalService;
     this.mapperService       = mapperService;
     this.goalFinder          = goalFinder;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CourseController"/> class.
 /// </summary>
 /// <param name="courseService">Provides specific data operations for the <see cref="Course"/> model.</param>
 /// <param name="moduleService">Provides specific data operations for the <see cref="Module"/> model.</param>
 /// <param name="moduleFinder">Provides specific data operations for module objects.</param>
 /// <param name="manyToManyMapper">Maps entities for Many-To-Many relations</param>
 /// <param name="activityLoggerService">When overridden in a derived form, provides functionality for loggers that handle events raised by the url that the request came through.</param>
 public CourseController(IGenericService <Course> courseService, IGenericService <Module> moduleService, IObjectFinderService <Module> moduleFinder, IManyToManyMapperService <Course, CourseModule, Module> manyToManyMapper, IGenericService <ExamProgram> examProgramService, IGenericService <Teacher> teacherService)
 {
     this.courseService      = courseService;
     this.moduleService      = moduleService;
     this.moduleFinder       = moduleFinder;
     this.manyToManyMapper   = manyToManyMapper;
     this.examprogramService = examProgramService;
     this.teacherService     = teacherService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ModuleController"/> class.
 /// </summary>
 /// <param name="moduleService">Provides specific data operations for the <see cref="Module"/> model.</param>
 /// <param name="goalService">Provides specific data operations for the <see cref="Goal"/> model.</param>
 /// <param name="goalFinder">Provides specific data operations for goal objects.</param>
 /// <param name="activityLoggerService">When overridden in a derived form, provides functionality for loggers that handle events raised by the url that the request came through.</param>
 public ModuleController(IGeneratorService <DocX> guideGeneratorService, IGenericService <Module> moduleService, IGenericService <Goal> goalService, IObjectFinderService <Goal> goalFinder, IGenericService <Teacher> teacherService, IObjectFinderService <Exam> examFinder, IGenericService <Exam> examService, IObjectFinderService <Teacher> teacherFinder)
 {
     this.guideGeneratorService = guideGeneratorService;
     this.moduleService         = moduleService;
     this.goalService           = goalService;
     this.goalFinder            = goalFinder;
     this.teacherService        = teacherService;
     this.examFinder            = examFinder;
     this.examService           = examService;
     this.teacherFinder         = teacherFinder;
 }