コード例 #1
0
        public JsonResult RemoveFeatureItem(string id)
        {
            var module = new RoleModule(CurrentUser);
            var data   = module.Remove(id);

            return(Json(new { code = 0, msg = "Ok", data = data }));
        }
コード例 #2
0
        public JsonResult RemoveFeature(string roleId, string menuId)
        {
            var module = new RoleModule(CurrentUser);
            var data   = module.Remove(roleId, menuId);

            return(Json(new { code = 0, msg = "Ok", data = data }));
        }