/// <summary> /// Initializes a new instance of the <see cref="QuestionAppService"/> class. /// </summary> /// <param name="questionManager">The staff manager.</param> /// <param name="moduleManager">The module manager.</param> /// <param name="questionChoicesManager">The questionchoices mapper.</param> /// <param name="objectMapper">The object mapper.</param> /// <param name="cacheService">The cache servide.</param> /// <param name="exceptionManager">The exception manager.</param> /// <param name="loggingService">The loggin manager.</param> public QuestionAppService( IQuestionDomainService questionManager, IModuleDomainService moduleManager, IQuestionChoiceDomainService questionChoicesManager, IObjectMapperAdapter objectMapper, ICacheAdapter cacheService, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService) : base(objectMapper, cacheService, exceptionManager, loggingService) { this.QuestionManager = questionManager; this.ModuleManager = moduleManager; this.QuestionChoicesManager = questionChoicesManager; }
/// <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; }