private static void DeleteRoleRelation(int roleId) { dal.DeleteFieldPermissionFromRoles(roleId, 0, null); dal.DeleteNodePermissionFromRoles(roleId, -2); dal.DeletePermissionFromRoles(roleId); dal.DeleteSpecialPermissionFromRoles(roleId, 0); }
public static void DeletePermissionFromRoles(int roleId) { dal.DeletePermissionFromRoles(roleId); }