Files
ShopSolution-backend/Webshop.Domain/Interfaces/ISupplierRepository.cs
Tizian.Breuch ce69373adb try
2025-07-23 21:08:30 +02:00

16 lines
524 B
C#

// src/Webshop.Domain/Interfaces/ISupplierRepository.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Domain.Entities; // Supplier Entity
namespace Webshop.Domain.Interfaces
{
public interface ISupplierRepository
{
Task<IEnumerable<Supplier>> GetAllSuppliersAsync();
Task<Supplier?> GetSupplierByIdAsync(Guid id);
Task AddSupplierAsync(Supplier supplier);
Task UpdateSupplierAsync(Supplier supplier);
Task DeleteSupplierAsync(Guid id);
}
}