This commit is contained in:
mmrbnjd
2024-05-27 18:01:50 +03:30
parent ef530f0d81
commit e8c5dfcda4
10 changed files with 182 additions and 93 deletions

View File

@@ -11,6 +11,7 @@ namespace Back.Data.Contracts
public interface IAsyncRepository<T>
{
IQueryable<T> GetAll();
IQueryable<T> TrackingGet(Expression<Func<T, bool>> predicate);
IQueryable<T> Get(Expression<Func<T, bool>> predicate);
IQueryable<T> Get(Expression<Func<T, bool>> predicate = null,
Func<IQueryable<T>, IOrderedQueryable<T>> orderBy = null,