public ConverterService(
     ICurrencyRateService currencyRateService,
     IGlobalCurrencyRateService globalCurrencyRateService)
 {
     _currencyRateService       = currencyRateService;
     _globalCurrencyRateService = globalCurrencyRateService;
 }
Пример #2
0
 public GlobalCurrencyRatesController(
     IGlobalCurrencyRateService globalCurrencyRateService,
     IMapper mapper)
 {
     _globalCurrencyRateService = globalCurrencyRateService;
     _mapper = mapper;
 }
Пример #3
0
 public ConverterService(
     IExchangeRatesApi exchangeRatesApi,
     IRatesApi ratesApi,
     IDistributedCache distributedCache,
     IGlobalCurrencyRateService globalCurrencyRateService)
 {
     _exchangeRatesApi          = exchangeRatesApi;
     _ratesApi                  = ratesApi;
     _distributedCache          = distributedCache;
     _globalCurrencyRateService = globalCurrencyRateService;
 }