public async Task <IActionResult> GetSpotsByRegionAsync(int id, [FromQuery] PagingModel pagingModel) { try { PaginatedModel <Spot> paginatedLSpots = await service.GetSpotsByRegionAsync(id, pagingModel); return(Ok(paginatedLSpots)); } catch (Exception ex) { var exceptionResponse = GetExceptionResponse(ex, Request); return(exceptionResponse); } }