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