public async void SearchRangeAndSetValues() { try { var resultRange = await _pokemonService.GetFromApi <ListPaginationInfo>($"?limit={UrlConfiguration.OffSet}&offset={IndexAtual}"); SetPokemonsOnList(resultRange.Results); TotalPokemon = resultRange.Count; } catch (Exception ex) { Debug.WriteLine(ex.Message); } }