コード例 #1
0
 public IActionResult NovoRegistro(Colaborador formulario)
 {
     if (ModelState.IsValid)
     {
         formulario.SalvarNovoRegistro();
         return(RedirectToAction("Index"));
     }
     return(View());
 }