public StationsController(IMapper mapper,
                           NearestLocationService nearestLocationService,
                           ICacheStoreClient <ExternalStationDto> stationsCacheStoreClient)
 {
     _mapper = mapper;
     _nearestLocationService   = nearestLocationService;
     _stationsCacheStoreClient = stationsCacheStoreClient;
 }
Beispiel #2
0
 public RefreshGiosRestDataJob(ILogger <RefreshGiosRestDataJob> logger,
                               IConfiguration configuration,
                               IAirQualityHttpClient giosHttptService,
                               ICacheStoreClient <ExternalStationDto> stationsCacheStore,
                               ICacheStoreClient <ExternalAirIndexDto> airIndexCacheStore)
 {
     _logger             = logger;
     _giosHttptService   = giosHttptService;
     _stationsCacheStore = stationsCacheStore;
     _airIndexCacheStore = airIndexCacheStore;
     _configuration      = configuration;
 }
 public AirIndexesController(ICacheStoreClient <ExternalAirIndexDto> airIndexesCacheStoreClient, IMapper mapper)
 {
     _airIndexesCacheStoreClient = airIndexesCacheStoreClient;
     _mapper = mapper;
 }