From a12906d5581bb779695f2af134b7b1e635425951 Mon Sep 17 00:00:00 2001 From: "ai.astrakhantsev" Date: Tue, 29 Nov 2022 11:22:34 +0500 Subject: [PATCH] =?UTF-8?q?#7759269=20=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=80=D0=BE=D0=BB=D0=B5=D0=B9=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D0=BA=D0=BB=D0=B8=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D1=85=20=D1=80=D0=BE=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Repository/UserRoleRepository.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/AsbCloudInfrastructure/Repository/UserRoleRepository.cs b/AsbCloudInfrastructure/Repository/UserRoleRepository.cs index e386bb7f..ccb736ea 100644 --- a/AsbCloudInfrastructure/Repository/UserRoleRepository.cs +++ b/AsbCloudInfrastructure/Repository/UserRoleRepository.cs @@ -213,21 +213,6 @@ namespace AsbCloudInfrastructure.Repository DropCacheRelationUserRoleUserRole(); } - //private IEnumerable GetNestedRoleIds(UserRoleDto dto) - //{ - // var result = new List(); - // if (dto.Roles is not null) - // { - // foreach (var role in dto.Roles) - // { - // result.Add(role.Id); - // if (role.Roles is not null) - // GetNestedRoleIds(role); - // } - // } - // return result; - //} - private async Task UpdatePermissionsAsync(UserRoleDto dto, CancellationToken token) { if (dto?.Permissions is null)