public ActionResult Delete(int id) { var info = AppVersionBLL.GetList(p => p.ID == id).FirstOrDefault(); if (null == info) { return(Json(new APIJson(-1, "删除失败,参数有误"))); } if (AppVersionBLL.Delete(info)) { return(Json(new APIJson(0, "删除成功"))); } return(Json(new APIJson(-1, "删除失败,请重试"))); }