Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StudentController"/> class.
 /// </summary>
 /// <param name="studentService">The student service.</param>
 /// <param name="assignmentTaskAndSubmission">The assignment task and submission.</param>
 /// <param name="messageService">The message service.</param>
 /// <param name="courseModuleService">The course module service.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="basequestionTopicService">The basequestionTopic service.</param>
 public TaskController(
     IStudentAppService studentService,
     IUserAppService userAppService,
     IAssignmentTaskSubmissionAppService assignmentTaskAndSubmission,
     IMessageAppService messageService
     )
 {
     this._studentService = studentService;
     this._userService    = userAppService;
     this._assignmentTaskAndSubmissionService = assignmentTaskAndSubmission;
     this._messageService = messageService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="StudentController"/> class.
 /// </summary>
 /// <param name="studentService">The student service.</param>
 /// <param name="assignmentTaskAndSubmission">The assignment task and submission.</param>
 /// <param name="messageService">The message service.</param>
 /// <param name="courseModuleService">The course module service.</param>
 /// <param name="fileService">The file service.</param>
 /// <param name="basequestionTopicService">The basequestionTopic service.</param>
 public StudentController(
     IStudentAppService studentService,
     IUserAppService userAppService,
     IAssignmentTaskSubmissionAppService assignmentTaskAndSubmission,
     IMessageAppService messageService,
     ICourseModuleAppService courseModuleService,
     IFileAppService fileService,
     IUnitModuleAppService unitService,
     IScheduleAppService scheduleService,
     IBaseQuestionTopicAppService basequestionTopicService
     ) : base(userAppService)
 {
     this._studentService = studentService;
     this._userService    = userAppService;
     this._assignmentTaskAndSubmissionService = assignmentTaskAndSubmission;
     this._messageService                 = messageService;
     this._courseModuleService            = courseModuleService;
     this._fileService                    = fileService;
     this._unitModuleService              = unitService;
     this._scheduleService                = scheduleService;
     this._baseQuestionTopicModuleService = basequestionTopicService;
 }