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

12 lines
372 B
C#

using ScrapperAPI.Dtos;
using ScrapperAPI.Records;
namespace ScrapperAPI.Interfaces;
public interface IContentRepository
{
Task<int> SaveAsync(int queueId, string content, CancellationToken ct);
Task<ContentRow?> GetByQueueIdAsync(int queueId, CancellationToken ct);
Task<CompressedContent?> GetCompressedByQueueIdAsync(int queueId, CancellationToken ct);
}