public OperationsService(ITransfersRepository transfersRepository, IBonusCashInsRepository bonusCashInsRepository, ICampaignClient campaignClient, IPrivateBlockchainFacadeClient privateBlockchainFacadeClient, ICustomerTierRepository customerTierRepository, IMemoryCache memoryCache, TimeSpan customerWalletsCacheExpirationPeriod, IPartnersPaymentsRepository partnersPaymentsRepository, IReferralStakesRepository referralStakesRepository, IPartnerManagementClient partnerManagementClient, ILinkedWalletTransfersRepository linkedWalletTransfersRepository, IFeeCollectedOperationsRepository feeCollectedOperationsRepository, ILinkWalletOperationsRepository linkWalletOperationsRepository, IVoucherPurchasePaymentsRepository voucherPurchasePaymentsRepository, string tokenSymbol, ILogFactory logFactory) { _transfersRepository = transfersRepository; _bonusCashInsRepository = bonusCashInsRepository; _campaignClient = campaignClient; _privateBlockchainFacadeClient = privateBlockchainFacadeClient; _customerTierRepository = customerTierRepository; _customerWalletsCacheExpirationPeriod = customerWalletsCacheExpirationPeriod; _tokenSymbol = tokenSymbol; _partnersPaymentsRepository = partnersPaymentsRepository; _partnerManagementClient = partnerManagementClient; _referralStakesRepository = referralStakesRepository; _linkedWalletTransfersRepository = linkedWalletTransfersRepository; _feeCollectedOperationsRepository = feeCollectedOperationsRepository; _linkWalletOperationsRepository = linkWalletOperationsRepository; _voucherPurchasePaymentsRepository = voucherPurchasePaymentsRepository; _customerWalletsCache = new OnDemandDataCache <string>(memoryCache); _log = logFactory.CreateLog(this); }
public OperationsQueryService( ITransactionHistoryRepository transactionHistoryRepository, IBonusCashInsRepository bonusCashInsRepository, IPaymentTransfersRepository paymentTransfersRepository, IPartnersPaymentsRepository partnersPaymentsRepository, IVoucherPurchasePaymentsRepository voucherPurchasePaymentsRepository, ICustomerProfileClient customerProfileClient, ILogFactory logFactory) { _transactionHistoryRepository = transactionHistoryRepository; _bonusCashInsRepository = bonusCashInsRepository; _paymentTransfersRepository = paymentTransfersRepository; _partnersPaymentsRepository = partnersPaymentsRepository; _voucherPurchasePaymentsRepository = voucherPurchasePaymentsRepository; _customerProfileClient = customerProfileClient; _log = logFactory.CreateLog(this); }