supplier
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
// src/Webshop.Application/Services/Admin/IAdminSupplierService.cs
|
||||
|
||||
using System; // Für Guid
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application.DTOs; // SupplierDto
|
||||
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);
|
||||
// Task<bool> UpdateSupplierAsync(SupplierDto supplierDto); // Beispiel für zukünftige Methode
|
||||
// Task<bool> DeleteSupplierAsync(Guid id); // Beispiel für zukünftige Methode
|
||||
|
||||
// --- HIER DIE FEHLENDEN METHODEN ERGÄNZEN ---
|
||||
Task<bool> UpdateSupplierAsync(Guid id, SupplierDto supplierDto);
|
||||
Task<bool> DeleteSupplierAsync(Guid id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user