netcorekit
netcorekit copied to clipboard
This code should minus 1
https://github.com/cloudnative-netcore/netcorekit/blob/5f8a3807f20a85855bdc52bda425b77b3aa47b64/src/NetCoreKit.Infrastructure.EfCore/Extensions/RepositoryWithTypeExtensions.cs#L115
I think you should write the code like this var results = await queryable .Skip((criterion.CurrentPage -1) * criterion.PageSize) .Take(criterion.PageSize) .Select(selector) .ToListAsync();
Thank you. Let me double check it