コード例 #1
0
        public async Task <double> CalculaJuros(CalculoJuros itens)
        {
            var taxa = await _jurosService.GetTaxaJuros();

            var result = itens.valorInicial * Math.Pow(1 + taxa, itens.tempo);

            return(result);
        }