This commit is contained in:
@@ -6,7 +6,7 @@ namespace AyaNova.Api.ControllerHelpers
|
||||
|
||||
public sealed class PagingOptions
|
||||
{
|
||||
public const int MaxPageSize = 100;
|
||||
public const int MaxPageSize = 1000;
|
||||
public const int DefaultOffset = 0;
|
||||
public const int DefaultLimit = 25;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace AyaNova.Api.ControllerHelpers
|
||||
public int? Offset { get; set; }
|
||||
|
||||
[FromQuery]
|
||||
[Range(1, MaxPageSize, ErrorMessage = "Limit must be greater than 0 and less than 100.")]
|
||||
[Range(1, MaxPageSize, ErrorMessage = "Limit must be greater than 0 and less than 1000.")]
|
||||
public int? Limit { get; set; }
|
||||
|
||||
public string Sort { get; set; }
|
||||
|
||||
@@ -380,7 +380,7 @@ namespace AyaNova
|
||||
// ******************** TESTING WIPE DB *****************************
|
||||
//
|
||||
//Set this to true to wipe the db and reinstall a trial license and re-seed the data
|
||||
var TESTING_REFRESH_DB = false;//#############################################################################################
|
||||
var TESTING_REFRESH_DB = true;//#############################################################################################
|
||||
|
||||
#if (DEBUG)
|
||||
//TESTING
|
||||
|
||||
Reference in New Issue
Block a user