예제 #1
0
 public IActionResult NovaTransacao(Transacao transacao)
 {
     if (ModelState.IsValid)
     {
         transacao.HttpContextAccessor = HttpContextAccessor;
         transacao.NovaTransacao();
         return(RedirectToAction("ListarTransacao"));
     }
     return(View());
 }