15 lines
600 B
C#
15 lines
600 B
C#
// 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
|
|
}
|
|
} |