Add Sort parameter to Pagination.

This commit is contained in:
Haiping Chen 2024-05-13 16:00:39 -05:00
parent 8ef2bb02f1
commit 6024a53476

View file

@ -26,6 +26,11 @@ public class Pagination
}
}
/// <summary>
/// Sort by field
/// </summary>
public string? Sort { get; set; }
public int Offset
{
get { return (Page - 1) * Size; }