working customer post, get and delete

This commit is contained in:
2023-06-07 14:47:00 +02:00
parent ad998e0499
commit c805ce20a8
26 changed files with 448 additions and 142 deletions

View File

@@ -0,0 +1,11 @@
using AB.Contracts;
namespace AB.Services.Abstractions;
public interface ISupplierService
{
Task<SupplierDto> CreateAsync(SupplierForCreationDto supplierForCreation);
Task DeleteAsync(Guid supplierId, CancellationToken cancellationToken);
Task<IEnumerable<SupplierDto>> GetAllAsync(CancellationToken cancellationToken);
Task<SupplierDto> GetSupplierByIdAsync(Guid supplierId, CancellationToken cancellationToken);
}