11 lines
387 B
C#
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);
|
|
}
|