public async Task <List <Document?> > ToListAsync(CancellationToken cancellationToken = default) { return(await _context.TransactGetItemsAsync <Document>(GetNode(), cancellationToken).ConfigureAwait(false)); }
public async Task <List <TResultEntity?> > ToListAsync <TResultEntity>(CancellationToken cancellationToken = default) where TResultEntity : class { return(await _context.TransactGetItemsAsync <TResultEntity>(GetNode(), cancellationToken).ConfigureAwait(false)); }