public DebtService(IRepository <Debt> debtRepository, IRepository <Friend> friendRepository, IHttpContextAccessor httpContextAccessor, IRepository <User> userRepository, IRepository <Change> changeRepository, IHubContext <MainHub> hubContext, IRepository <PayNotification> payNotificationRepository, IRepository <Notification> notificationRepository, IRepository <Currency> currenciesRepository, IRepository <Payment> paymentRepository, IStripeChargeService stripeChargeService, IHttpClientFactory clientFactory, IExchangeRateService exchangeRateService) { _debtRepository = debtRepository; _friendRepository = friendRepository; _httpContextAccessor = httpContextAccessor; _userRepository = userRepository; _changeRepository = changeRepository; _hubContext = hubContext; _notificationRepository = notificationRepository; _currenciesRepository = currenciesRepository; _paymentRepository = paymentRepository; _stripeChargeService = stripeChargeService; _exchangeRateService = exchangeRateService; }
public ChargeController(IStripeChargeService chargeService) { _chargeService = chargeService; }