public ActionResult Delete(int id) { var category = jlService.GetProductCategory(id); if (category != null) { jlService.DeleteProductCategory(category); return(Json(ResultObject.Succeed())); } return(Json(ResultObject.Failed())); }