public ActionResult Delete(int id, Etudiant etudiant)
 {
     try
     {
         etudiantsRepo.Delete(id);
         return(RedirectToAction(nameof(Index)));
     }
     catch
     {
         return(View());
     }
 }
示例#2
0
文件: SCHOOL.cs 项目: kencentre/X-Wcf
 public bool Delete(string ID)
 {
     return(dal.Delete(ID));
 }