public ActionResult Edit(int id, Etudiant Etudiant)
 {
     try
     {
         etudiantsRepo.Update(id, Etudiant);
         return(RedirectToAction(nameof(Index)));
     }
     catch
     {
         return(View());
     }
 }
Пример #2
0
 public bool Update(E_Model.School model)
 {
     return(dal.Update(model));
 }