You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/src/Volo.Abp.Identity.Web/Areas/Identity/Controllers/UsersController.cs

25 lines
688 B

using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc;
namespace Volo.Abp.Identity.Web.Areas.Identity.Controllers
{
[Area("Identity")]
public class UsersController : AbpController
{
private readonly IIdentityUserAppService _userAppService;
public UsersController(IIdentityUserAppService userAppService)
{
_userAppService = userAppService;
}
public async Task<ActionResult> Index()
{
var result = await _userAppService.GetListAsync(new PagedAndSortedResultRequestDto());
return View(result.Items);
}
}
}