Exemplo n.º 1
0
 public TransmissionService(
     IOptions <TransmissionOptions> options,
     IMovieService movieService,
     ILogger <TransmissionService> logger,
     MolliesMoviesContext context,
     ISystemClock clock,
     IScraperService scraperService,
     IScraperBackgroundService scraperBackgroundService,
     IMapper mapper)
 {
     _options                  = options;
     _movieService             = movieService;
     _logger                   = logger;
     _context                  = context;
     _clock                    = clock;
     _scraperService           = scraperService;
     _scraperBackgroundService = scraperBackgroundService;
     _mapper                   = mapper;
 }
Exemplo n.º 2
0
 public ScraperController(IScraperService service, IScraperBackgroundService backgroundService)
 {
     _service           = service;
     _backgroundService = backgroundService;
 }