Skip to content

Commit

Permalink
Update Lombiq.HelpfulLibraries.OrchardCore/Data/QueryExtensions.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Sára El-Saig <[email protected]>
  • Loading branch information
wAsnk and sarahelsaig authored Oct 8, 2024
1 parent e25833b commit 5b1a6e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Lombiq.HelpfulLibraries.OrchardCore/Data/QueryExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,9 @@ public static Task<GetPageAndPagerViewModel<T>> GetPageAndPagerAsync<T>(
}
}

public record GetPageAndPagerViewModel<T>(IList<T> Items, [property: JsonIgnore] IShape Pager, int Total, int PageSize, int PageIndex);
public record GetPageAndPagerViewModel<T>(
IList<T> Items,
[property: JsonIgnore] IShape Pager,
int Total,
int PageSize,
int PageIndex);

0 comments on commit 5b1a6e8

Please sign in to comment.