示例#1
0
 public ActionResult Delete(int id, Family family)
 {
     try
     {
         familyService.Remove(id);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }