mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-05 23:57:19 +08:00
feat(userManagement): add user detail view and filtering capabilities
This commit is contained in:
@@ -5,8 +5,9 @@ namespace Foxel.Services.Management;
|
||||
|
||||
public interface IUserManagementService
|
||||
{
|
||||
Task<PaginatedResult<UserResponse>> GetUsersAsync(int page = 1, int pageSize = 10);
|
||||
Task<PaginatedResult<UserResponse>> GetUsersAsync(int page = 1, int pageSize = 10, string? searchQuery = null, string? role = null, DateTime? startDate = null, DateTime? endDate = null);
|
||||
Task<UserResponse> GetUserByIdAsync(int id);
|
||||
Task<UserDetailResponse> GetUserDetailAsync(int id);
|
||||
Task<UserResponse> CreateUserAsync(string userName, string email, string password, string role);
|
||||
Task<UserResponse> UpdateUserAsync(int id, string userName, string email, string role);
|
||||
Task<bool> DeleteUserAsync(int id);
|
||||
|
||||
Reference in New Issue
Block a user