2026-07-24 17:35:34 -03:00
|
|
|
using Data.SeaHavenIndustries;
|
|
|
|
|
|
|
|
|
|
namespace SeaHaven.DataServices.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IVendorDocumentDataService
|
|
|
|
|
{
|
|
|
|
|
Task<VendorCompletionDocument?> GetLatestForDispatchAsync(int dispatchId, CancellationToken cancellationToken);
|
|
|
|
|
Task<VendorCompletionDocument?> GetForVendorDispatchAsync(int documentId, int dispatchId, int vendorId, CancellationToken cancellationToken);
|
2026-08-11 08:58:19 -03:00
|
|
|
Task<VendorCompletionDocument?> GetMetadataForVendorDispatchAsync(int documentId, int dispatchId, int vendorId, CancellationToken cancellationToken);
|
2026-07-28 14:19:15 -03:00
|
|
|
Task<List<VendorCompletionDocument>> ListForVendorDispatchAsync(int dispatchId, int vendorId, CancellationToken cancellationToken);
|
2026-08-11 08:58:19 -03:00
|
|
|
Task<VendorCompletionDocument?> GetUpliftEvidenceAsync(int documentId, int dispatchId, int vendorId, CancellationToken cancellationToken);
|
2026-07-24 17:35:34 -03:00
|
|
|
Task AddAsync(VendorCompletionDocument document, CancellationToken cancellationToken);
|
|
|
|
|
Task SaveChangesAsync(CancellationToken cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
}
|