1
0
voyager-api/ScrapperAPI/Interfaces/IExtractedDataRepository.cs

11 lines
387 B
C#

using ScrapperAPI.Dtos;
namespace ScrapperAPI.Interfaces;
public interface IExtractedDataRepository
{
Task UpsertAsync(UpsertExtractedDataDto dto, CancellationToken ct);
Task<IReadOnlyList<ExtractedDataRow>> ListBySessionAsync(int sessionId, long modelId, CancellationToken ct);
Task<ExtractedDataRow?> GetByQueueIdAsync(int queueId, long modelId, CancellationToken ct);
}