示例#1
0
        //
        // GET: /Series/

        public SeriesController(SeriesProvider seriesProvider,
                                QualityProvider qualityProvider, JobProvider jobProvider,
                                SeasonProvider seasonProvider)
        {
            _seriesProvider = seriesProvider;
            _qualityProvider = qualityProvider;
            _jobProvider = jobProvider;
            _seasonProvider = seasonProvider;
        }
        public AddSeriesController(RootDirProvider rootFolderProvider,
                                   ConfigProvider configProvider,
                                   QualityProvider qualityProvider, TvDbProvider tvDbProvider,
                                   SeriesProvider seriesProvider, JobProvider jobProvider,
                                   DiskProvider diskProvider)
        {

            _rootFolderProvider = rootFolderProvider;
            _configProvider = configProvider;
            _qualityProvider = qualityProvider;
            _tvDbProvider = tvDbProvider;
            _seriesProvider = seriesProvider;
            _jobProvider = jobProvider;
            _diskProvider = diskProvider;
        }
 public SettingsController(ConfigProvider configProvider, IndexerProvider indexerProvider,
                           QualityProvider qualityProvider, AutoConfigureProvider autoConfigureProvider,
                           SeriesProvider seriesProvider, ExternalNotificationProvider externalNotificationProvider,
                           QualityTypeProvider qualityTypeProvider,
                           ConfigFileProvider configFileProvider, NewznabProvider newznabProvider)
 {
     _externalNotificationProvider = externalNotificationProvider;
     _qualityTypeProvider = qualityTypeProvider;
     _configFileProvider = configFileProvider;
     _newznabProvider = newznabProvider;
     _configProvider = configProvider;
     _indexerProvider = indexerProvider;
     _qualityProvider = qualityProvider;
     _autoConfigureProvider = autoConfigureProvider;
     _seriesProvider = seriesProvider;
 }