public CryptocurrencyHistoryController(ICryptocurrencyHistoryService cryptocurrencyHistoryService) { _cryptocurrencyHistoryService = cryptocurrencyHistoryService; }
public CryptocurrencyService(IRepository <Cryptocurrency> cryptocurrencyRepository, ICoinMarketCapRepository coinMarketCapRepository, ICryptocurrencyHistoryService cryptocurrencyHistoryService) { _cryptocurrencyRepository = cryptocurrencyRepository; _coinMarketCapRepository = coinMarketCapRepository; _cryptocurrencyHistoryService = cryptocurrencyHistoryService; }