public ImportPollingStationsCommandsHandler( VotRomaniaContext context, IImportJobsRepository importJobsRepository, IPollingStationsRepository pollingStationsRepository, IImportedPollingStationsRepository importedPollingStationsRepository, IBackgroundJobsQueue backgroundJobsQueue, IPollingStationSearchService pollingStationSearchService, IExcelParser excelParser, ILogger <ImportPollingStationsCommandsHandler> logger) { _context = context; _importJobsRepository = importJobsRepository; _pollingStationsRepository = pollingStationsRepository; _importedPollingStationsRepository = importedPollingStationsRepository; _backgroundJobsQueue = backgroundJobsQueue; _pollingStationSearchService = pollingStationSearchService; _excelParser = excelParser; _logger = logger; }
public PollingStationsQueryHandler(IPollingStationSearchService searchService, IPollingStationsRepository repository) { _searchService = searchService; _repository = repository; }