public ActionResult DeleteId(int id) { var resultMode = new ResponseBaseModel <dynamic> { ResultCode = ResponceCodeEnum.Success, Message = "响应成功" }; var menuServer = new ContentService(); try { menuServer.DelModel(id); } catch (Exception e) { Console.WriteLine(e); throw; } return(Json(resultMode, JsonRequestBehavior.AllowGet)); }