Skip to content

Commit

Permalink
v 8.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
samanazadi1996 committed May 29, 2024
1 parent bfe56bd commit 62c4868
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CleanArchitectureNugetPack.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageType>Template</PackageType>
<Version>8.1.3</Version>
<Version>8.1.4</Version>
<PackageId>Sam.CleanArchitecture.Template</PackageId>
<Title>Clean Architecture</Title>
<TargetFramework>net8.0</TargetFramework>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public async Task<PagedResponse<UserDto>> GetPagedUsers(GetAllUsersRequest model
}

var result = new PagenationResponseDto<UserDto>(
await users.Skip(skip).Take(model.PageSize).ToListAsync(),
await users.CountAsync(),
await users.Skip(skip).Take(model.PageSize).ToListAsync(),
await users.CountAsync(),
model.PageNumber, model.PageSize);

return new PagedResponse<UserDto>(result);
Expand Down

0 comments on commit 62c4868

Please sign in to comment.