Example #1
0
 public CoinGeckoAPIService(
     HttpResponseService httpResponseService,
     IOptions <CoinGeckoConfiguration> options,
     ICoinGeckoRepository coinGeckoRepository,
     IQuickchartAPIService quickchartAPIService)
 {
     _httpResponseService  = httpResponseService;
     _coinGeckoRepository  = coinGeckoRepository;
     _quickchartAPIService = quickchartAPIService;
     _coinGeckoOptions     = options.Value;
 }
Example #2
0
 public InitMemoryDB(ICoinGeckoAPIService coinGeckoAPIService, ICoinGeckoRepository coinGeckoRepository)
 {
     _coinGeckoAPIService = coinGeckoAPIService;
     _coinGeckoRepository = coinGeckoRepository;
 }