public DemoLeadService( IReferralLeadRepository referralLeadRepository, ISettingsService settingsService, INotificationPublisherService notificationPublisherService, IHashingManager hashingManager, IAgentManagementClient agentManagementClient, ICustomerProfileClient customerProfileClient, IDictionariesClient dictionariesClient, CommissionManager commissionManager, ILogFactory logFactory, int delay, IOfferToPurchasePurchaseRepository offerToPurchasePurchaseRepository, IRabbitPublisher <PropertyLeadApprovedReferralEvent> propertyLeadApprovedReferralPublisher, IRabbitPublisher <OfferToPurchaseByLeadEvent> offerToPurchasePublisher, IRabbitPublisher <LeadStateChangedEvent> leadStateChangedPublisher, IMapper mapper, IPropertyPurchaseRepository propertyPurchaseRepository) { _referralLeadRepository = referralLeadRepository; _settingsService = settingsService; _notificationPublisherService = notificationPublisherService; _hashingManager = hashingManager; _agentManagementClient = agentManagementClient; _customerProfileClient = customerProfileClient; _dictionariesClient = dictionariesClient; _commissionManager = commissionManager; _delay = delay; _offerToPurchasePurchaseRepository = offerToPurchasePurchaseRepository; _propertyLeadApprovedReferralPublisher = propertyLeadApprovedReferralPublisher; _offerToPurchasePublisher = offerToPurchasePublisher; _leadStateChangedPublisher = leadStateChangedPublisher; _propertyPurchaseRepository = propertyPurchaseRepository; _mapper = mapper; _log = logFactory.CreateLog(this); }
public ReferralLeadService( IStakeService stakeService, IMAVNPropertyIntegrationClient propertyIntegrationClient, IRabbitPublisher <PropertyLeadApprovedReferralEvent> propertyLeadApprovedReferralPublisher, IReferralLeadRepository referralLeadRepository, INotificationPublisherService notificationPublisherService, ISettingsService settingsService, IHashingManager hashingManager, IAgentManagementClient agentManagementClient, ICustomerProfileClient customerProfileClient, IDictionariesClient dictionariesClient, IPropertyPurchaseRepository propertyPurchaseRepository, IRabbitPublisher <LeadStateChangedEvent> leadStateChangedPublisher, IMapper mapper, ILogFactory logFactory) { _stakeService = stakeService; _propertyIntegrationClient = propertyIntegrationClient; _propertyLeadApprovedReferralPublisher = propertyLeadApprovedReferralPublisher; _referralLeadRepository = referralLeadRepository; _notificationPublisherService = notificationPublisherService; _settingsService = settingsService; _hashingManager = hashingManager; _agentManagementClient = agentManagementClient; _customerProfileClient = customerProfileClient; _dictionariesClient = dictionariesClient; _propertyPurchaseRepository = propertyPurchaseRepository; _leadStateChangedPublisher = leadStateChangedPublisher ?? throw new ArgumentNullException(nameof(propertyLeadApprovedReferralPublisher)); _mapper = mapper; _log = logFactory.CreateLog(this); }
public PropertyPurchaseService( IReferralLeadRepository referralLeadRepository, IPropertyPurchaseRepository propertyPurchaseRepository, IStakeService stakeService, CommissionManager commissionManager) { _referralLeadRepository = referralLeadRepository; _propertyPurchaseRepository = propertyPurchaseRepository; _stakeService = stakeService; _commissionManager = commissionManager; }