Skip to content

Commit 1e882e4

Browse files
committed
Sort order
1 parent 6024a53 commit 1e882e4

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
@@ -31,6 +31,11 @@ public int Size
3131
/// </summary>
3232
public string? Sort { get; set; }
3333

34+
/// <summary>
35+
/// Sort order: asc or desc
36+
/// </summary>
37+
public string Order { get; set; } = "asc";
38+
3439
public int Offset
3540
{
3641
get { return (Page - 1) * Size; }

0 commit comments

Comments
 (0)