public CoinMarketCapService(ICoinMarketCapCache cache) { if (cache == null) { throw new ArgumentNullException(nameof(cache)); } else { _cache = cache; } }
public HomeController(ICoinMarketCapCache cache) { _cache = cache; }