public ImageService(IApplicationConfigRepository configRepository, IFanartTvApi fanartTvApi, ICacheService cache) { _configRepository = configRepository; _fanartTvApi = fanartTvApi; _cache = cache; }
public ImagesController(IFanartTvApi fanartTvApi, IApplicationConfigRepository config, IOptions <LandingPageBackground> options, ICacheService c) { FanartTvApi = fanartTvApi; Config = config; Options = options.Value; _cache = c; }
public ImagesController(IFanartTvApi fanartTvApi, IApplicationConfigRepository config, IOptions <LandingPageBackground> options, ICacheService c, IImageService imageService, IMovieEngineV2 movieEngineV2, ITVSearchEngineV2 tVSearchEngineV2) { FanartTvApi = fanartTvApi; Config = config; Options = options.Value; _cache = c; _imageService = imageService; _movieEngineV2 = movieEngineV2; _tvSearchEngineV2 = tVSearchEngineV2; }