public decimal ConvertRate(CurrencyRate currencyRate) { CentralBankService centralBankService = new CentralBankService(); var result = centralBankService.ConvertCurrency(currencyRate); result = Decimal.Round(result, 2); return(result); }
public decimal ConvertRate(CurrencyRate currencyRate) { CentralBankService centralBankService = new CentralBankService(); return(centralBankService.ConvertCurrency(currencyRate)); }