示例#1
0
 public ActionResult Delete(int id, Client Client)
 {
     try
     {
         var cp = new ClientProcess();
         cp.deleteClient(id);
         DataCache.Instance.ClientListRemove();
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }