public ConverterService( ICurrencyRateService currencyRateService, IGlobalCurrencyRateService globalCurrencyRateService) { _currencyRateService = currencyRateService; _globalCurrencyRateService = globalCurrencyRateService; }
public GlobalCurrencyRatesController( IGlobalCurrencyRateService globalCurrencyRateService, IMapper mapper) { _globalCurrencyRateService = globalCurrencyRateService; _mapper = mapper; }
public ConverterService( IExchangeRatesApi exchangeRatesApi, IRatesApi ratesApi, IDistributedCache distributedCache, IGlobalCurrencyRateService globalCurrencyRateService) { _exchangeRatesApi = exchangeRatesApi; _ratesApi = ratesApi; _distributedCache = distributedCache; _globalCurrencyRateService = globalCurrencyRateService; }