9 lines
423 B
C#
9 lines
423 B
C#
public interface IUserDirectoryService
|
|
{
|
|
Task<IReadOnlyList<UserSummaryResponse>> ListByRoleAsync(UserRole? role);
|
|
Task<UserSummaryResponse> CreateAsync(CreateUserRequest request);
|
|
Task<UserSummaryResponse> UpdateAsync(Guid userId, UpdateUserRequest request);
|
|
Task ResetPasswordAsync(Guid userId, string newPassword);
|
|
Task ChangePasswordAsync(Guid userId, string currentPassword, string newPassword);
|
|
}
|