public decimal ConvertRate(CurrencyRate currencyRate)
        {
            CentralBankService centralBankService = new CentralBankService();
            var result = centralBankService.ConvertCurrency(currencyRate);

            result = Decimal.Round(result, 2);
            return(result);
        }
Exemplo n.º 2
0
        public decimal ConvertRate(CurrencyRate currencyRate)
        {
            CentralBankService centralBankService = new CentralBankService();

            return(centralBankService.ConvertCurrency(currencyRate));
        }