|
|
@ -1,4 +1,5 @@ |
|
|
using System; |
|
|
using System; |
|
|
|
|
|
using System.Collections.Generic; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
@ -19,6 +20,13 @@ namespace Volo.Abp.Identity |
|
|
_roleAppService = roleAppService; |
|
|
_roleAppService = roleAppService; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
|
|
|
[Route("all")] |
|
|
|
|
|
public virtual Task<List<IdentityRoleDto>> GetAllListAsync() |
|
|
|
|
|
{ |
|
|
|
|
|
return _roleAppService.GetAllListAsync(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public virtual Task<PagedResultDto<IdentityRoleDto>> GetListAsync(PagedAndSortedResultRequestDto input) |
|
|
public virtual Task<PagedResultDto<IdentityRoleDto>> GetListAsync(PagedAndSortedResultRequestDto input) |
|
|
{ |
|
|
{ |
|
|
|