add supplier repo and suppliercreationdto

This commit is contained in:
2023-06-09 13:04:59 +02:00
parent 7b1aaacfb5
commit f5c030df01
14 changed files with 207 additions and 35 deletions

View File

@@ -10,7 +10,7 @@ namespace AB.Domain.Repositories;
public interface ICustomerRepository
{
public Task<IEnumerable<Customer>> GetAllAsync(CancellationToken cancellationToken);
Task<Customer> GetByIdAsync(Guid customerId, CancellationToken cancellationToken);
void Insert(Customer customer);
void Remove(Customer customer);
public Task<Customer> GetByIdAsync(Guid customerId, CancellationToken cancellationToken);
public void Insert(Customer customer);
public void Remove(Customer customer);
}