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