public ActionResult Delete(string ResNum) { SysResourceProvider provider = new SysResourceProvider(); int line = provider.DeleteResource(ResNum); if (line > 0) { this.ReturnJson.AddProperty("d", "success"); } return Content(this.ReturnJson.ToString()); }