add CancellationToken to GetAllAsync
This commit is contained in:
@@ -15,7 +15,7 @@ public interface IRepository<TEntity>
|
||||
|
||||
public IEnumerable<TEntity> GetAll();
|
||||
|
||||
public Task<IEnumerable<TEntity>> GetAllAsync();
|
||||
public Task<IEnumerable<TEntity>> GetAllAsync(CancellationToken cancel = default);
|
||||
|
||||
public Task UpdateAsync<TDto>(TDto dto, Expression<Func<TEntity, bool>> expression, CancellationToken cancel = default);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user