Implement GetAll and Update functionality for Supplier Claims

This commit is contained in:
2026-09-08 16:08:41 +05:30
parent e267f94d46
commit 6ba8d2fd19
5 changed files with 91 additions and 8 deletions
@@ -3,6 +3,7 @@ namespace Distribution.Features.SupplierClaims;
public interface ISupplierClaimRepository
{
Task<Models.SupplierClaim?> GetByIdAsync(Guid id);
Task<List<Models.SupplierClaim>> GetAllAsync();
Task<List<Models.SupplierClaim>> GetByPurchaseOrderIdAsync(Guid purchaseOrderId);
Task AddAsync(Models.SupplierClaim entity);
void Update(Models.SupplierClaim entity);