mirror of https://github.com/abpframework/abp.git
17 changed files with 157 additions and 29 deletions
@ -1,14 +1,11 @@ |
|||
using System; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Application.Dtos; |
|||
using Volo.Abp.Application.Services; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public interface IUserAppService : IApplicationService |
|||
public interface IUserAppService : IAsyncCrudAppService<IdentityUserDto, Guid, PagedAndSortedResultRequestDto, IdentityUserCreateOrUpdateDto> |
|||
{ |
|||
Task<ListResultDto<IdentityUserDto>> Get(); |
|||
|
|||
Task<IdentityUserDto> Get(Guid id); |
|||
|
|||
} |
|||
} |
|||
|
|||
@ -0,0 +1,17 @@ |
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public class IdentityUserCreateOrUpdateDto |
|||
{ |
|||
public string UserName { get; set; } |
|||
|
|||
public string Email { get; set; } |
|||
|
|||
public string PhoneNumber { get; set; } |
|||
|
|||
public bool TwoFactorEnabled { get; set; } |
|||
|
|||
public bool LockoutEnabled { get; set; } |
|||
|
|||
public string Password { get; set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue