public JsonResult RemoveFeatureItem(string id) { var module = new RoleModule(CurrentUser); var data = module.Remove(id); return(Json(new { code = 0, msg = "Ok", data = data })); }
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 })); }