mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 15:43:14 +00:00
13 lines
572 B
C#
13 lines
572 B
C#
|
|
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);
|
||
|
|
Task AddAsync(VendorCompletionDocument document, CancellationToken cancellationToken);
|
||
|
|
Task SaveChangesAsync(CancellationToken cancellationToken);
|
||
|
|
}
|
||
|
|
}
|