Files
ShopSolution-backend/Webshop.Domain/Interfaces/ISupplierRepository.cs
2025-07-23 12:33:01 +02:00

14 lines
444 B
C#

// src/Webshop.Domain/Interfaces/ISupplierRepository.cs
using Webshop.Domain.Entities;
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);
}
}