public JsonResult RemoveCateItem(string cateId, string ptpId, short isPk, short isRq) { var module = new PoliceTypeModule(CurrentUser); var data = module.Remove(cateId, ptpId, isPk, isRq); return(Json(new { code = 0, msg = "Ok", data = true })); }
public JsonResult Remove(string id) { var module = new PoliceTypeModule(CurrentUser); var data = module.Remove(t => t.Id == id); return(Json(new { code = 0, msg = "Ok", data = data })); }