/// <summary>
 /// Initializes a new instance of the <see cref="CourseModuleAppService"/> class.
 /// </summary>
 /// <param name="courseManager">The course manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="cacheService">The cache service.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public CourseModuleAppService(
     ICourseDomainService courseManager,
     IModuleDomainService moduleManager,
     IModuleQuizDomainService moduleQuizManager,
     IDepartmentDomainService departmentManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService,
     ICourseRegistrationDomainService courseRegistrationManager,
     IQuizDomainService quizManager,
     IAssignmentDomainService assignmentManager,
     ISubmissionDomainService submissionManager,
     IStudentDomainService studentManager)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.CourseManager             = courseManager;
     this.ModuleManager             = moduleManager;
     this.DepartmentManager         = departmentManager;
     this.CourseRegistrationManager = courseRegistrationManager;
     this.QuizManager       = quizManager;
     this.AssignmentManager = assignmentManager;
     this.SubmissionManager = submissionManager;
     this.StudentManager    = studentManager;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuizAppService"/> class.
 /// </summary>
 /// <param name="staffManager">The staff manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 public QuizAppService(
     IQuizDomainService quizManager,
     IModuleDomainService moduleManager,
     IModuleQuizDomainService moduleQuizManager,
     IQuizEntryDomainService quizentryManager,
     IAnswerDomainService answerManager,
     IAnswerQuestionChoiceDomainService answerQuestionChoiceManager,
     IQuestionChoiceDomainService questionChoiceManager,
     IQuestionDomainService questionManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.QuizManager                 = quizManager;
     this.ModuleManager               = moduleManager;
     this.QuizEntryManager            = quizentryManager;
     this.AnswerManager               = answerManager;
     this.AnswerQuestionChoiceManager = answerQuestionChoiceManager;
     this.QuestionChoiceManager       = questionChoiceManager;
     this.QuestionManager             = questionManager;
     this.ModuleQuizManager           = moduleQuizManager;
 }