mirror of https://github.com/abpframework/abp.git
16 changed files with 121 additions and 72 deletions
@ -0,0 +1,9 @@ |
|||
using Volo.Abp.Application.Dtos; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public class GetIdentityRolesInput : PagedAndSortedResultRequestDto |
|||
{ |
|||
public string Filter { get; set; } |
|||
} |
|||
} |
|||
@ -1,11 +1,13 @@ |
|||
using System; |
|||
using Volo.Abp.Application.Dtos; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Application.Services; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public interface IIdentityRoleAppService : IAsyncCrudAppService<IdentityRoleDto, Guid, PagedAndSortedResultRequestDto, IdentityRoleCreateDto, IdentityRoleUpdateDto> |
|||
public interface IIdentityRoleAppService : IAsyncCrudAppService<IdentityRoleDto, Guid, GetIdentityRolesInput, IdentityRoleCreateDto, IdentityRoleUpdateDto> |
|||
{ |
|||
|
|||
//TODO: remove after a better design
|
|||
Task<List<IdentityRoleDto>> GetAllListAsync(); |
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,8 @@ |
|||
namespace Volo.Abp.Identity.Web.Areas.Identity.Models |
|||
{ |
|||
public class CreateOrUpdateUserViewModel |
|||
{ |
|||
public IdentityUserDto User { get; set; } |
|||
public IdentityUserRoleDto[] Roles { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue