public ScrapperService(
     ITvMazeApiService tvMazeApiService,
     ITvMazeShowProvider tvMazeShowsProvider,
     IScrapperShowProvider showsProvider)
 {
     _tvMazeApiService    = tvMazeApiService;
     _tvMazeShowsProvider = tvMazeShowsProvider;
     _showsProvider       = showsProvider;
 }
 public TvMazeScraperService(
     IOptions <CommunicationConfig> appConfig,
     ILogger <TvMazeScraperService> logger,
     IMapper mapper,
     ITvMazeApiService tvMazeApiService,
     IImportInfoRepository importInfoRepository,
     IImportRequestRepository importRequestRepository,
     IStringsProvider strings,
     IMicroservicesCommunicationService communicationService)
 {
     _config                  = appConfig.Value;
     _logger                  = logger;
     _mapper                  = mapper;
     _tvMazeApiService        = tvMazeApiService;
     _importInfoRepository    = importInfoRepository;
     _importRequestRepository = importRequestRepository;
     _strings                 = strings;
     _communicationService    = communicationService;
 }
 public TvMazeShowProvider(IMapper mapper, ITvMazeApiService apiService, IRepository <TvMazePage> repository)
 {
     _mapper     = mapper;
     _apiService = apiService;
     _repository = repository;
 }
示例#4
0
 public ScrapperShowProvider(IRepository <AppPage> repository, IMapper mapper, ITvMazeApiService tvMazeApiService)
 {
     _tvMazeApiService = tvMazeApiService;
     _repository       = repository;
     _mapper           = mapper;
 }