Exemplo n.º 1
0
 private void GuardPokemonNotFound(PokemonId pokemonId)
 {
     if (!_pokemonRepository.Exists(pokemonId).Result)
     {
         throw new PokemonNotFoundException(pokemonId);
     }
 }