10 lines
366 B
C#
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);
|
|
} |