try
This commit is contained in:
15
Webshop.Application/Services/Admin/IAdminUserService.cs
Normal file
15
Webshop.Application/Services/Admin/IAdminUserService.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// src/Webshop.Application/Services/Admin/IAdminUserService.cs
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application.DTOs.Users; // UserDto
|
||||
|
||||
namespace Webshop.Application.Services.Admin
|
||||
{
|
||||
public interface IAdminUserService
|
||||
{
|
||||
Task<IEnumerable<UserDto>> GetAllUsersAsync();
|
||||
Task<UserDto?> GetUserByIdAsync(string userId);
|
||||
// Task<bool> UpdateUserRolesAsync(string userId, List<string> newRoles); // Beispiel für zukünftige Methode
|
||||
// Task<bool> DeleteUserAsync(string userId); // Beispiel für zukünftige Methode
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user