コード例 #1
0
        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 }));
        }
コード例 #2
0
        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 }));
        }