Пример #1
0
 public ActionResult DeleteForm(string keyValue)
 {
     try
     {
         categoryApp.DeleteForm(keyValue);
         return(Success("删除成功。"));
     }
     catch (System.Exception e)
     {
         return(Error(e.Message));
     }
 }
Пример #2
0
 public ActionResult DeleteForm(int keyValue)
 {
     business.DeleteForm(keyValue);
     return(Success("删除成功。"));
 }