push
This commit is contained in:
@@ -9,7 +9,7 @@ public interface IRepositoryBase<T, TId>
|
||||
Task UpdateAsync(T entity, CancellationToken cancellationToken = default);
|
||||
Task DeleteAsync(T entity, CancellationToken cancellationToken = default);
|
||||
Task DeleteById(TId id, CancellationToken cancellationToken = default);
|
||||
Task<T?> GetById(TId id, CancellationToken cancellationToken = default);
|
||||
Task<bool> Exists(Expression<Func<T,bool>> predicate, CancellationToken cancellationToken = default);
|
||||
Task<T?> Get(Expression<Func<T, bool>> predicate, CancellationToken cancellationToken = default);
|
||||
Task<T?> GetByIdAsync(TId id, CancellationToken cancellationToken = default);
|
||||
Task<bool> ExistsAsync(Expression<Func<T,bool>> predicate, CancellationToken cancellationToken = default);
|
||||
Task<T?> GetAsync(Expression<Func<T, bool>> predicate, CancellationToken cancellationToken = default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user