public HomeController(IPokemonBuilder pokemonServer, ISimplifiedPokemonBuilder simplifiedPokemonServer, IConfiguration configuration) { // register injected objects to home controller _configuration = configuration; _pokemon = pokemonServer; _simplifiedPokemon = simplifiedPokemonServer; }
public PokemonCreator(IPokemonBuilder builder) { this.builder = builder; }