public MovieFileController(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, IMovieService movieService, ICustomFormatCalculationService formatCalculator, IUpgradableSpecification qualityUpgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _movieService = movieService; _formatCalculator = formatCalculator; _qualityUpgradableSpecification = qualityUpgradableSpecification; }
public MovieFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, IMovieService movieService, IUpgradableSpecification qualityUpgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _movieService = movieService; _qualityUpgradableSpecification = qualityUpgradableSpecification; GetResourceById = GetMovieFile; UpdateResource = SetQuality; DeleteResource = DeleteMovieFile; }
public BookFileController(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, IEBookTagService eBookTagService, IAuthorService authorService, IBookService bookService, IUpgradableSpecification upgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _eBookTagService = eBookTagService; _authorService = authorService; _bookService = bookService; _upgradableSpecification = upgradableSpecification; }
public EpisodeFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, ISeriesService seriesService, IUpgradableSpecification upgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _seriesService = seriesService; _upgradableSpecification = upgradableSpecification; GetResourceById = GetEpisodeFile; GetResourceAll = GetEpisodeFiles; UpdateResource = SetQuality; DeleteResource = DeleteEpisodeFile; }
public EpisodeFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, ISeriesService seriesService, IUpgradableSpecification upgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _seriesService = seriesService; _upgradableSpecification = upgradableSpecification; GetResourceById = GetEpisodeFile; GetResourceAll = GetEpisodeFiles; UpdateResource = SetQuality; DeleteResource = DeleteEpisodeFile; Put("/editor", episodeFiles => SetPropertiesEditor()); Put("/bulk", episodeFiles => SetPropertiesBulk()); Delete("/bulk", episodeFiles => DeleteEpisodeFiles()); }
public MovieFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, IMovieService movieService, ICustomFormatCalculationService formatCalculator, IUpgradableSpecification qualityUpgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _movieService = movieService; _formatCalculator = formatCalculator; _qualityUpgradableSpecification = qualityUpgradableSpecification; GetResourceById = GetMovieFile; GetResourceAll = GetMovieFiles; UpdateResource = SetMovieFile; DeleteResource = DeleteMovieFile; Put("/editor", movieFiles => SetMovieFile()); Delete("/bulk", movieFiles => DeleteMovieFiles()); }
public TrackFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, IAudioTagService audioTagService, IArtistService artistService, IAlbumService albumService, IUpgradableSpecification upgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _audioTagService = audioTagService; _artistService = artistService; _albumService = albumService; _upgradableSpecification = upgradableSpecification; GetResourceById = GetTrackFile; GetResourceAll = GetTrackFiles; UpdateResource = SetQuality; DeleteResource = DeleteTrackFile; Put("/editor", trackFiles => SetQuality()); Delete("/bulk", trackFiles => DeleteTrackFiles()); }