using ScrapperAPI.Dtos; namespace ScrapperAPI.Interfaces; public interface IExtractionRunRepository { Task CreateAsync(CreateExtractionRunDto dto, CancellationToken ct); Task GetByIdAsync(long id, CancellationToken ct); Task MarkRunningAsync(long runId, CancellationToken ct); Task MarkDoneAsync(long runId, int total, int succeeded, int failed, CancellationToken ct); Task MarkFailedAsync(long runId, string error, CancellationToken ct); }