public ActionResult Delete(int?id) { if (id == null) { return(Json( new OperateResult { content = "访问错误", }, JsonRequestBehavior.AllowGet )); } OperateResult or = PerformanceManager.Remove(id.Value); return(Json(or, JsonRequestBehavior.AllowGet)); }