public FundaSaleService( IOptions <FundaSettings> settings, IFundaClientFactory factory, IMapper mapper) { _settings = settings.Value; _mapper = mapper; _factory = factory; _cache = new CachingService(new MemoryCacheProvider(new MemoryCache(new MemoryCacheOptions()))); }
public FundaClientFactory(IHttpClientFactory httpClientFactory, IOptions <FundaSettings> options) { _httpClientFactory = httpClientFactory; _settings = options.Value; }