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