Пример #1
0
 public async Task <IActionResult> CalculaJuros([FromQuery] CalculaJurosDTO calculaJurosDTO)
 {
     return(Ok(await _calculoService.CalculaJuros(calculaJurosDTO.ValorInicial.Value, calculaJurosDTO.Meses.Value)));
 }
        public ObjectReplyDTO <object> Get([FromQuery] CalculoValuesDto calcValues)
        {
            var result = _calculo.CalculaJuros(calcValues);

            return(result);
        }