public CryptoService(IHttpContextAccessor httpContextAccessor, ICryptoTradeHistoryRepository cryptoTradeHistoryRepository, IUserIdentityRepository userIdentityRepository, InfluxDbData.IRepository <CryptoData> cryptoRepository) { this.httpContextAccessor = httpContextAccessor; this.cryptoTradeHistoryRepository = cryptoTradeHistoryRepository; this.userIdentityRepository = userIdentityRepository; this.cryptoRepository = cryptoRepository; }
public CoinbaseParser(ICryptoTickerRepository cryptoTickerRepository, ICurrencySymbolRepository currencySymbolRepository, ICryptoTradeHistoryRepository cryptoTradeHistoryRepository) { this.cryptoTickerRepository = cryptoTickerRepository; this.currencySymbolRepository = currencySymbolRepository; this.cryptoTradeHistoryRepository = cryptoTradeHistoryRepository; }