Skip to content

Commit 6024a53

Browse files
committed
Add Sort parameter to Pagination.
1 parent 8ef2bb0 commit 6024a53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Infrastructure/BotSharp.Abstraction/Utilities/Pagination.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ public int Size
2626
}
2727
}
2828

29+
/// <summary>
30+
/// Sort by field
31+
/// </summary>
32+
public string? Sort { get; set; }
33+
2934
public int Offset
3035
{
3136
get { return (Page - 1) * Size; }

0 commit comments

Comments
 (0)