private void ReadPokemonById() { Pokemon pokemonInfo = repo.ReadById(io.PromptUserForInt("Enter Id")); pokemonInfo.Name = "Bob"; if (pokemonInfo != null) { io.DisplayPokemon(pokemonInfo); // Update Character UpdatePokemon(pokemonInfo); } }