public VideoService(IEmailSenderService emailSenderService, IAuthService _authService, IVideoRepo videoRepository, IAuthRepo _authRepo, ICommonEmailsService ICommonEmailsService) { videoRepo = videoRepository; authRepo = _authRepo; authService = _authService; commonEmailsService = ICommonEmailsService; _iEmailSenderService = emailSenderService; }
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(); }
public SlideDeckRepo(AppDbContext dbContext, IVideoRepo v) : base(dbContext) { _videoRepo = v; }
public VideoController(IVideoRepo videoRepo, IAzureRepo azureRepo) { _videoRepo = videoRepo; _azureRepo = azureRepo; }
public VideoService(IFileReader fileReader = null, IVideoRepo videoRepo = null) { _fileReader = fileReader ?? new FileReader(); _videoRepo = videoRepo ?? new VideoRepo(); }