feat: add UserManagementService with temp-password creation and deactivation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using ROLAC.API.DTOs.Shared;
|
||||
using ROLAC.API.DTOs.Users;
|
||||
|
||||
namespace ROLAC.API.Services;
|
||||
|
||||
public interface IUserManagementService
|
||||
{
|
||||
Task<PagedResult<UserListItemDto>> GetPagedAsync(int page, int pageSize, string? search);
|
||||
Task<UserDto?> GetByIdAsync(string id);
|
||||
Task<CreateUserResult> CreateAsync(CreateUserRequest request);
|
||||
Task UpdateAsync(string id, UpdateUserRequest request);
|
||||
Task DeactivateAsync(string id);
|
||||
Task<string> ResetPasswordAsync(string id);
|
||||
}
|
||||
Reference in New Issue
Block a user