public ActionResult AgregarEditar(int id = 0)
 {
     ViewBag.concurso = criterio.listarconcurso();
     return(View(
                id == 0 ? new Criterio()
         : criterio.Obtener(id)
                ));
 }
Exemple #2
0
 //Accion visualizar
 public ActionResult Visualizar(int id)
 {
     return(View(objCriterio.Obtener(id)));
 }