public ActionResult DeleteForm(string keyValue) { try { bool i = false; i = userApp.Delete(keyValue); if (i) { return(Success()); } else { return(Warning()); } } catch (Exception ex) { return(Error(ex.Message)); } }
public ActionResult DeleteForm(string keyValue) { userbll.Delete(keyValue); return(Success("删除成功。")); }