public CourseController(ICourseRepository courseRepository, ICourseModuleRepository courseModuleRepository, ICourseModuleViewerRepository courseModuleViewerRepository, IMemberRepository memberRepository, IApplicationUserRepository applicationUserRepository, UserManager <IdentityUser> userManager) { _courseRepository = courseRepository; _courseModuleRepository = courseModuleRepository; _courseModuleViewerRepository = courseModuleViewerRepository; _memberRepository = memberRepository; _applicationUserRepository = applicationUserRepository; _userManager = userManager; }
/// <summary> /// Initializes a new instance of the <see cref="CourseDomainService"/> class. /// </summary> /// <param name="courseRepository">The course repository.</param> /// <param name="exceptionManager">The exception manager.</param> /// <param name="loggingService">The logging service.</param> public CourseDomainService( ICourseRepository courseRepository, IModuleRepository moduleRepository, ICourseModuleRepository courseModuleRepository, IStaffCourseRepository staffCourseRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService) : base(courseRepository, exceptionManager, loggingService) { CourseRepository = courseRepository; ModuleRepository = moduleRepository; this.CourseModuleRepository = courseModuleRepository; this.StaffCourseRepository = staffCourseRepository; }
public GetCourseModulesHandler(ICourseModuleRepository repository) { _repository = repository; }
public CourseEpisodeRepository(IMongoRepository <CourseEpisodeDocument, Guid> repository, ICourseModuleRepository moduleRepository) { _repository = repository; _moduleRepository = moduleRepository; }
public AddCourseModuleHandler(ICourseModuleRepository repository) { _repository = repository; }
/// <summary> /// Initializes a new instance of the <see cref="moduleDomainService"/> class. /// </summary> /// <param name="moduleRepository">The module repository.</param> /// <param name="exceptionManager">The exception manager.</param> /// <param name="loggingService">The logging service.</param> public ModuleDomainService(IModuleRepository moduleRepository, ICourseModuleRepository courseModuleRepository, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService) : base(moduleRepository, exceptionManager, loggingService) { ModuleRepository = moduleRepository; CourseModuleRepository = courseModuleRepository; }