/// <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 AnswerAppService( IAnswerDomainService answerManager, IAnswerQuestionChoiceDomainService answerQuestionChoiceManager, IQuestionChoiceDomainService questionchoiceManager, IObjectMapperAdapter objectMapper, ICacheAdapter cacheService, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService) : base(objectMapper, cacheService, exceptionManager, loggingService) { this.AnswerManager = answerManager; this.AnswerQuestionChoiceManager = answerQuestionChoiceManager; this.QuestionChoiceManager = questionchoiceManager; }
/// <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; }