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

11 lines
342 B
C#

using ScrapperAPI.Dtos;
namespace ScrapperAPI.Interfaces;
public interface IExtractionModelRepository
{
Task<long> CreateAsync(CreateExtractionModelDto dto, CancellationToken ct);
Task<IReadOnlyList<ExtractionModelRow>> GetAllAsync(CancellationToken ct);
Task<ExtractionModelRow?> GetByIdAsync(long id, CancellationToken ct);
}