We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64271ef commit 54fb85aCopy full SHA for 54fb85a
Intersect.Server/Web/RestApi/Payloads/PagingInfo.cs
@@ -1,12 +1,13 @@
1
namespace Intersect.Server.Web.RestApi.Payloads;
2
3
-public struct PagingInfo()
+// TODO: Struct, right now there's an exception when it's a struct and I'm not sure how to fix it
4
+public class PagingInfo
5
{
6
public const int MaxPageSize = 100;
7
public const int MinPageSize = 5;
8
public const int DefaultPageSize = 10;
9
10
public int Page { get; set; } = 0;
11
- public int Count { get; set; } = 10;
12
+ public int Count { get; set; } = DefaultPageSize;
13
}
0 commit comments