Browse Source
Include sorting and paging in role list fetch
pull/25017/head
maliming
3 weeks ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
modules/identity/src/Volo.Abp.Identity.Application/Volo/Abp/Identity/Integration/IdentityUserIntegrationService.cs
|
|
|
@ -100,7 +100,7 @@ public class IdentityUserIntegrationService : IdentityAppServiceBase, IIdentityU |
|
|
|
{ |
|
|
|
using (RoleRepository.DisableTracking()) |
|
|
|
{ |
|
|
|
var roles = await RoleRepository.GetListAsync(input.Filter); |
|
|
|
var roles = await RoleRepository.GetListAsync(sorting: input.Sorting, maxResultCount: input.MaxResultCount, skipCount: input.SkipCount, filter: input.Filter); |
|
|
|
return new ListResultDto<RoleData>(roles.Select(r => new RoleData(r.Id, r.Name, r.IsDefault, r.IsStatic, r.IsPublic, r.TenantId, r.ExtraProperties)).ToList()); |
|
|
|
} |
|
|
|
} |
|
|
|
|