Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit a2d85ba

Browse files
committed
Rinominato metodo
1 parent e5aaadf commit a2d85ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/NET6CustomLibrary/EFCore/Infrastructure/Interfaces/IDatabaseRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
public interface IDatabaseRepository<TEntity, TKey> : IDatabase<TEntity, TKey> where TEntity : class, IEntity<TKey>, new()
44
{
5-
Task<ListViewModel<TEntity>> GetEntitiesPaginationAsync(int pageIndex, int pageSize);
5+
Task<ListViewModel<TEntity>> GetListPaginationAsync(int pageIndex, int pageSize);
66
Task<List<TEntity>> GetOrderByIdAscendingAsync();
77
Task<List<TEntity>> GetOrderByIdDescendingAsync();
88
Task<int> GetCountAsync();

src/NET6CustomLibrary/EFCore/Infrastructure/Repository/DatabaseRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public async Task<List<TEntity>> GetOrderByIdDescendingAsync()
3636
.ToListAsync();
3737
}
3838

39-
public async Task<ListViewModel<TEntity>> GetEntitiesPaginationAsync(int pageIndex, int pageSize)
39+
public async Task<ListViewModel<TEntity>> GetListPaginationAsync(int pageIndex, int pageSize)
4040
{
4141
//return await DbContext.Set<TEntity>()
4242
// .Skip((pageIndex - 1) * pageSize)

0 commit comments

Comments
 (0)