コード例 #1
0
 public void VerificarRetornoCalculoJurosCorreto()
 {
     Assert.Equal("105,10", _service.CalcularJuros(100, 5));
 }
コード例 #2
0
 public IActionResult GetCalculoJuros([FromRoute] double valorInicial, [FromRoute] int meses)
 {
     return(Ok(_apiService.CalcularJuros(valorInicial, meses)));
 }