public UploadService( PlayCatDbContext dbContext, IOptions <VideoRestrictsOptions> videoRestrictsOptions, IVideoInfoGetter videoInfoGetter, ISaveVideo saveVideo, IExtractAudio extractAudio, IUploadAudio uploadAudio, ILoggerFactory loggerFactory) : base(dbContext, loggerFactory.CreateLogger <UploadService>()) { _videoInfoGetter = videoInfoGetter; _saveVideo = saveVideo; _extractAudio = extractAudio; _uploadAudio = uploadAudio; _videoRestrictsOptions = videoRestrictsOptions; }
public AuthService(PlayCatDbContext dbContext, IInviteService inviteService, ILoggerFactory loggerFactory) : base(dbContext, loggerFactory.CreateLogger <AuthService>()) { _inviteService = inviteService; }
public void SetDbContext(PlayCatDbContext dbContext) { _dbContext = dbContext; }
public BaseService(PlayCatDbContext dbContext, ILogger logger) { _dbContext = dbContext; _logger = logger; }
public AudioService(PlayCatDbContext dbContext, ILoggerFactory loggerFactory) : base(dbContext, loggerFactory.CreateLogger <AuthService>()) { }
public PlaylistService(PlayCatDbContext dbContext, ILoggerFactory loggerFactory) : base(dbContext, loggerFactory.CreateLogger <PlaylistService>()) { }