mirror of https://github.com/abpframework/abp
parent
25abb18afe
commit
96631c1eef
@ -0,0 +1,14 @@
|
||||
@page "/identity/users"
|
||||
@inherits BlazorisePageBase<IIdentityUserAppService, IdentityUserDto, Guid, GetIdentityUsersInput, IdentityUserCreateDto, IdentityUserUpdateDto>
|
||||
|
||||
<h3>UserManagement</h3>
|
||||
|
||||
@if (Entities != null)
|
||||
{
|
||||
<ul>
|
||||
@foreach (var user in Entities)
|
||||
{
|
||||
<li>@user.UserName</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
@page "/identity/users"
|
||||
@attribute [Authorize]
|
||||
@using Volo.Abp.Identity
|
||||
@using Microsoft.AspNetCore.Authorization
|
||||
@inject IIdentityUserAppService UserAppService
|
||||
|
||||
<h1>Users</h1>
|
||||
|
||||
<button class="btn btn-primary" @onclick="GetUsersAsync">Get user list</button>
|
||||
|
||||
@if (_users != null)
|
||||
{
|
||||
<ul class="mt-2">
|
||||
@foreach (var user in _users)
|
||||
{
|
||||
<li>@user.UserName / @user.Email</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
<p>Total user count: @_totalUserCount</p>
|
||||
}
|
Loading…
Reference in new issue