Esempio n. 1
0
        public IActionResult CalcularJurosCompostos(decimal valorInicial, int meses)
        {
            var taxaJuros = _mapper.Map <TaxaJuros>(new TaxaJurosViewModel {
                ValorInicial = valorInicial,
                Meses        = meses
            });

            return(Result(_taxaJurosService.CalcularJurosCompostos(taxaJuros)));
        }