public async Task <IReadOnlyList <CurrencyRateModel> > GetAllAsync() { var currencyRates = await _currencyRateService.GetAllAsync(); return(_mapper.Map <List <CurrencyRateModel> >(currencyRates)); }
public async Task <IReadOnlyList <CurrencyRateModel> > GetAllAsync() { var currencyRates = await _currencyRateService.GetAllAsync(); return(_mapper.Map <List <CurrencyRateModel> >(currencyRates)); }