public PokemonSearch(IPokemonCachingRepository pokemonCachingRepository, IPokemonDatabaseRepository pokemonDatabaseRepository, IPokemonApiRepository pokemonApiRepository, IMediator mediator) { _pokemonCachingRepository = pokemonCachingRepository; _pokemonDatabaseRepository = pokemonDatabaseRepository; _pokemonApiRepository = pokemonApiRepository; _mediator = mediator; }
public RetrievedPokemonFromApiNotificationHandler(IPokemonDatabaseRepository pokemonDatabaseRepository, IPokemonCachingRepository pokemonCachingRepository) { _pokemonDatabaseRepository = pokemonDatabaseRepository; _pokemonCachingRepository = pokemonCachingRepository; }