aufrüumen
This commit is contained in:
@@ -0,0 +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.Suppliers;
|
||||
|
||||
namespace Webshop.Application.Services.Admin.Interfaces
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user