/// <summary> /// Initializes a new instance of the <see cref="CourseController"/> class. /// </summary> /// <param name="courseModuleService">The course module service.</param> /// /// <param name="courseService">The course service.</param> public CourseController( IStudentAppService studentService, ICourseModuleAppService courseModuleService, IUnitModuleAppService unitModuleService, IQuizAppService quizservice, IQuestionAppService questionService, IAnswerAppService answerService, IUserAppService userAppService) : base(userAppService) { this._courseModuleService = courseModuleService; _unitModuleService = unitModuleService; _quizService = quizservice; _questionService = questionService; _answerService = answerService; _studentService = studentService; _userAppService = userAppService; }
/// <summary> /// Initializes a new instance of the <see cref="UnitModuleAppService"/> class. /// </summary> /// <param name="unitManager">The unit 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 UnitModuleAppService( IUnitDomainService unitManager, IModuleDomainService moduleManager, ICourseDomainService courseManager, IVideoDomainService videoManager, IFileDomainService fileManager, IObjectMapperAdapter objectMapper, ICacheAdapter cacheService, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService, IQuizAppService quizAppService, ICourseModuleAppService courseModuleAppService) : base(objectMapper, cacheService, exceptionManager, loggingService) { this.UnitManager = unitManager; this.ModuleManager = moduleManager; this.CourseManager = courseManager; this.VideoManager = videoManager; this.FileManager = fileManager; this._quizAppService = quizAppService; this.CourseModuleAppService = courseModuleAppService; }
public QuizzesController(IQuizAppService quizAppService) { _quizAppService = quizAppService; }