Beispiel #1
0
 public ActionResult Guardar(Concurso model)
 {
     if (ModelState.IsValid)
     {
         model.Guardar();
         return(Redirect("~/BackEnd/Concurso"));
     }
     else
     {
         return(View("~/BackEnd/Views/Concurso/AgregarEditar.cshtml", model));
     }
 }