Пример #1
0
        private async Task <Juro> ConstroiJuros(double valorInicial, int meses)
        {
            var juro = new Juro()
            {
                Meses        = meses,
                ValorInicial = valorInicial
            };

            juro.Taxa = new Taxa()
            {
                Valor = await _requisicao.ObterTaxa()
            };
            return(juro);
        }