public MarvelHttpClient( ILogger <MarvelHttpClient> logger, MarvelApiConfig marvelApiSettings, IHttpContextAccessor httpContextAccessor ) { _logger = logger; _marvelApiSettings = marvelApiSettings; _httpContextAccessor = httpContextAccessor; }
public BaseMarvelApi(IHttpClientFactory factory, IOptions <MarvelApiConfig> config) : base(factory) { _config = config.Value; }