solve error pageresponse
continuous-integration/drone/push Build is failing Details

EFManagers
Lucas Delanier 2 years ago
parent fbbc8d036a
commit 66f7fd10b7

@ -1,13 +0,0 @@
namespace APILOL.Controllers.Request
{
public class PageResponse
{
public bool IsDesc { get; set; } = false;
public int Offset { get; set; } = 0;
public string? OrderingPropertyName { get; set; } = "Name";
public int Limit { get; set; } = 10;
}
}

@ -30,7 +30,7 @@ namespace APILOL.Controllers.v1
// GET: api/<RuneController> // GET: api/<RuneController>
[MapToApiVersion("1.0")] [MapToApiVersion("1.0")]
[HttpGet] [HttpGet]
public async Task<IActionResult> Get([FromQuery] PageResponse request) public async Task<IActionResult> Get([FromQuery] PageRequest request)
{ {
_logger.LogInformation("API call - [GET] - RUNE"); _logger.LogInformation("API call - [GET] - RUNE");
try try

Loading…
Cancel
Save