예제 #1
0
 public Pokemon GetPokemon(int id)
 {
     return(PokeBox.GetPokemons().SingleOrDefault(x => x.Id == id));
 }
예제 #2
0
 public IEnumerable <Pokemon> GetPokemons()
 {
     return(PokeBox.GetPokemons());
 }