Beispiel #1
0
 public SectionServices(
     IOptions <VimeoConfig> vimeoConfig,
     ICourseRepository courseRepository,
     ISectionRepository sectionRepository,
     IMediator mediator,
     IHttpContextAccessor httpContextAccessor,
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager
     ) : base(mediator, httpContextAccessor, userRepository, userManager)
 {
     _vimeoConfig       = vimeoConfig.Value;
     _sectionRepository = sectionRepository;
     _courseRepository  = courseRepository;
 }
Beispiel #2
0
 public VideoServices(
     IOptions <VimeoConfig> vimeoConfig,
     ILectureRepository lectureRepository,
     IVideoRepository videoRepository,
     IMediator mediator,
     IHttpContextAccessor httpContextAccessor,
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager
     ) : base(mediator, httpContextAccessor, userRepository, userManager)
 {
     _vimeoConfig       = vimeoConfig.Value;
     _lectureRepository = lectureRepository;
     _videoRepository   = videoRepository;
 }
Beispiel #3
0
 public CourseServices(
     IOptions <VimeoConfig> vimeoConfig,
     IComponentContext icoContext,
     ICourseRepository courseRepository,
     ICourseReviewRepository courseReviewRepository,
     ICourseAttributesRepository courseAttributesRepository,
     IEntityAttributeRepository entityAttributeRepository,
     IOptions <StorageConnectionConfig> storageConnectionConfig,
     IMediator mediator,
     IHttpContextAccessor httpContextAccessor,
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager
     ) : base(mediator, httpContextAccessor, userRepository, userManager)
 {
     _vimeoConfig                = vimeoConfig.Value;
     _icoContext                 = icoContext;
     _courseRepository           = courseRepository;
     _courseReviewRepository     = courseReviewRepository;
     _courseAttributesRepository = courseAttributesRepository;
     _entityAttributeRepository  = entityAttributeRepository;
     _storageConnectionConfig    = storageConnectionConfig.Value;
 }