mirror of https://github.com/abpframework/abp.git
2 changed files with 20 additions and 12 deletions
@ -0,0 +1,20 @@ |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Microsoft.AspNetCore.Components; |
|||
using Volo.Abp.Identity; |
|||
|
|||
namespace MyCompanyName.MyProjectName.Blazor.Pages |
|||
{ |
|||
public partial class UserManagement : ComponentBase |
|||
{ |
|||
private long _totalUserCount; |
|||
private IReadOnlyList<IdentityUserDto> _users; |
|||
|
|||
private async Task GetUsersAsync() |
|||
{ |
|||
var result = await UserAppService.GetListAsync(new GetIdentityUsersInput()); |
|||
_totalUserCount = result.TotalCount; |
|||
_users = result.Items; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue