public ActionResult DeleteForm(string keyValue) { try { categoryApp.DeleteForm(keyValue); return(Success("删除成功。")); } catch (System.Exception e) { return(Error(e.Message)); } }
public ActionResult DeleteForm(int keyValue) { business.DeleteForm(keyValue); return(Success("删除成功。")); }