public PokemonTranslatorService() { pokeService = new PokeAPIService(); shakeService = new ShakespeareService(); pokemonDBContext = new PokemonDBContext(); pokeRepository = new GenericRepository <PokemonEntity, string> (pokemonDBContext); }
public PokemonTranslatorService(PokeAPIService _pokeService, ShakespeareService _shakeService, PokemonDBContext _pokemonDBContext, GenericRepository <PokemonEntity, string> _pokeRepository ) { pokeService = _pokeService; shakeService = _shakeService; pokemonDBContext = _pokemonDBContext; pokeRepository = _pokeRepository; }