Skip to content

Commit 5442dc1

Browse files
authored
Merge pull request #50 from A-Programmer/feature/Add_BlogApp_to_Solution
Fix IRepository
2 parents 0b85150 + 351830d commit 5442dc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/KSFramework/GenericRepository/IRepository.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Task<PaginatedList<TEntity>> GetPagedAsync(
2121
int pageSize,
2222
Expression<Func<TEntity, bool>>? where = null,
2323
string? orderBy = "",
24-
bool desc = false);
24+
bool desc = false,
25+
CancellationToken cancellationToken = default);
2526
PaginatedList<TEntity> GetPaged(
2627
int pageIndex,
2728
int pageSize,
2829
Expression<Func<TEntity, bool>>? where = null,
2930
string? orderBy = "",
30-
bool desc = false,
31-
CancellationToken cancellationToken = default);
31+
bool desc = false);
3232
ValueTask<TEntity?> GetByIdAsync(object id,
3333
CancellationToken cancellationToken = default);
3434
void Remove(TEntity entity);

0 commit comments

Comments
 (0)