Example #1
0
 public ActionResult EditAlumno(AlumnoModel al)
 {
     try
     {
         AlumnoRepository ar = new AlumnoRepository();
         ar.UpdateAlumno(al);
         return(RedirectToAction("Index"));
     }
     catch (Exception)
     {
         return(View());
     }
 }