text-matcher/src/Nocr.TextMatcher.AppServices/TextMatches/Repositories/ITextMatchRepository.cs
2024-03-22 10:00:41 +04:00

10 lines
366 B
C#

namespace Nocr.TextMatcher.AppServices.TextMatches.Repositories;
public interface ITextMatchRepository
{
Task<long> Create(TextMatch textMatch, CancellationToken cancellationToken = default);
Task Delete(long id, CancellationToken cancellationToken = default);
Task<IReadOnlyCollection<TextMatch>> Get(CancellationToken cancellationToken = default);
}