示例#1
0
 public ActionResult DeleteForm(string keyValue)
 {
     try
     {
         bool i = false;
         i = itemsApp.Delete(keyValue);
         if (i)
         {
             return(Success("删除成功。"));
         }
         else
         {
             return(Warning());
         }
     }
     catch (Exception ex)
     {
         return(Error(ex.Message));
     }
 }
示例#2
0
 public ActionResult DeleteForm(string keyValue)
 {
     ibll.Delete(keyValue);
     return(Success("删除成功。"));
 }