示例#1
0
 public VideoService(IEmailSenderService emailSenderService, IAuthService _authService, IVideoRepo videoRepository, IAuthRepo _authRepo, ICommonEmailsService ICommonEmailsService)
 {
     videoRepo            = videoRepository;
     authRepo             = _authRepo;
     authService          = _authService;
     commonEmailsService  = ICommonEmailsService;
     _iEmailSenderService = emailSenderService;
 }
示例#2
0
 public SlideDeckController(ISlideDeckRepo slideDeckRepo,
                            IUserService us, IVideoRepo v, IAzureRepo azureRepo, IUserService userService, IUserAvatarRepo userAvatarRepo) : base(slideDeckRepo, us)
 {
     _slideDeckRepo = slideDeckRepo;
     _azureRepo     = azureRepo;
     _videos        = v;
     _userService   = userService;
     _userAvatar    = userAvatarRepo;
 }
 // null allow param to be optional
 public VideoService(IFileReader fileReader, IVideoRepo repo = null)
 {
     _fileReader = fileReader ?? new FileReader();
     _repo       = repo ?? new VideoRepo();
 }
示例#4
0
 public SlideDeckRepo(AppDbContext dbContext, IVideoRepo v) : base(dbContext)
 {
     _videoRepo = v;
 }
示例#5
0
 public VideoController(IVideoRepo videoRepo, IAzureRepo azureRepo)
 {
     _videoRepo = videoRepo;
     _azureRepo = azureRepo;
 }
示例#6
0
 public VideoService(IFileReader fileReader = null, IVideoRepo videoRepo = null)
 {
     _fileReader = fileReader ?? new FileReader();
     _videoRepo  = videoRepo ?? new VideoRepo();
 }