Example #1
0
        private static void CreatePokemon(PokemonRepository repo)
        {
            Pokemon newPokemon = UserIO.PromptUserForNewPokemon();

            newPokemon = repo.Create(newPokemon);

            UserIO.DisplayPokemon(repo.ReadById(newPokemon.Id));
        }
Example #2
0
 public void Create(Pokemon pokemon)
 {
     _Repository.Create(pokemon);
 }
Example #3
0
 public void Inserir(Pokemon pokemon)
 {
     _Repository.Create(pokemon);
 }