Add Sort parameter to Pagination.
This commit is contained in:
parent
8ef2bb02f1
commit
6024a53476
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue