14 lines
444 B
C#
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);
|
|
}
|
|
} |