public PokemonService(IPokemonsRepository repository, IPokemonFactory factory) { _repository = repository; _factory = factory; }
public PokemonService(IPokemonsRepository pokemonsRepository, IOptions <PokeApi> options, IMapper mapper) { this.pokemonsRepository = pokemonsRepository; this.options = options; this.mapper = mapper; }