private static void CreatePokemon(PokemonRepository repo) { Pokemon newPokemon = UserIO.PromptUserForNewPokemon(); newPokemon = repo.Create(newPokemon); UserIO.DisplayPokemon(repo.ReadById(newPokemon.Id)); }
public void Create(Pokemon pokemon) { _Repository.Create(pokemon); }
public void Inserir(Pokemon pokemon) { _Repository.Create(pokemon); }