21 lines
742 B
C#
21 lines
742 B
C#
// src/Webshop.Application/Services/Admin/IAdminSupplierService.cs
|
|
|
|
using System; // Für Guid
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application.DTOs; // Für SupplierDto
|
|
|
|
namespace Webshop.Application.Services.Admin
|
|
{
|
|
public interface IAdminSupplierService
|
|
{
|
|
// Diese Methoden waren bereits vorhanden
|
|
Task<IEnumerable<SupplierDto>> GetAllSuppliersAsync();
|
|
Task<SupplierDto?> GetSupplierByIdAsync(Guid id);
|
|
Task<SupplierDto> CreateSupplierAsync(SupplierDto supplierDto);
|
|
|
|
// --- HIER DIE FEHLENDEN METHODEN ERGÄNZEN ---
|
|
Task<bool> UpdateSupplierAsync(Guid id, SupplierDto supplierDto);
|
|
Task<bool> DeleteSupplierAsync(Guid id);
|
|
}
|
|
} |