public ActionResult Guardar(CONCURSO ObjConcurso) { if (ModelState.IsValid) { ObjConcurso.Guardar(); return(Redirect("~/Concurso")); } else { return(View("~/Views/Concurso/AgregarEditar.cshtml", ObjConcurso)); } }
public ActionResult Guardar(CONCURSO ObjConcurso) { if (ModelState.IsValid) { ObjConcurso.Guardar(); return(Redirect("~/Concurso")); } else { return(View("~/Views/Concurso/AgregarEditar.cshtml", ObjConcurso)); } }