示例#1
0
        public ActionResult Delete(int id)
        {
            var category = jlService.GetProductCategory(id);

            if (category != null)
            {
                jlService.DeleteProductCategory(category);
                return(Json(ResultObject.Succeed()));
            }

            return(Json(ResultObject.Failed()));
        }