Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public AgentsController(
     IAgentService agentService,
     IDictionariesClient dictionariesClient,
     ILogFactory logFactory,
     IMapper mapper)
 {
     _agentService       = agentService;
     _dictionariesClient = dictionariesClient;
     _log    = logFactory.CreateLog(this);
     _mapper = mapper;
 }
 public KeysService(ICustomerProfileClient customerProfileClient,
                    IPushNotificationsClient pushNotificationsClient,
                    IDictionariesClient dictionariesClient,
                    ISettingsService settingsService,
                    string imagesBaseUrl)
 {
     _customerProfileClient   = customerProfileClient;
     _pushNotificationsClient = pushNotificationsClient;
     _dictionariesClient      = dictionariesClient ?? throw new ArgumentNullException(nameof(dictionariesClient));
     _settingsService         = settingsService;
     _imagesBaseUrl           = imagesBaseUrl;
 }
Exemplo n.º 5
0
 public CustomerService(
     ICustomerManagementServiceClient customerManagementServiceClient,
     ICustomerProfileClient customerProfileClient,
     IGoogleApi googleApiClient,
     IDictionariesClient dictionariesClient,
     IMapper mapper)
 {
     _customerManagementServiceClient = customerManagementServiceClient;
     _customerProfileClient           = customerProfileClient;
     _googleApiClient    = googleApiClient;
     _dictionariesClient = dictionariesClient;
     _mapper             = mapper;
 }
 public CustomerProfileService(
     ICustomerProfileRepository customerProfileRepository,
     IDictionariesClient dictionariesClient,
     IRabbitPublisher <EmailVerifiedEvent> emailVerifiedPublisher,
     IRabbitPublisher <CustomerPhoneVerifiedEvent> phoneVerifiedPublisher,
     IRabbitPublisher <CustomerProfileDeactivationRequestedEvent> deactivationRequestedPublisher,
     ITransactionRunner transactionRunner,
     ILogFactory logFactory)
 {
     _customerProfileRepository      = customerProfileRepository;
     _dictionariesClient             = dictionariesClient;
     _emailVerifiedPublisher         = emailVerifiedPublisher;
     _phoneVerifiedPublisher         = phoneVerifiedPublisher;
     _deactivationRequestedPublisher = deactivationRequestedPublisher;
     _transactionRunner = transactionRunner;
     _log = logFactory.CreateLog(this);
 }
 public CommonInformationController(IDictionariesClient dictionariesClient, IMapper mapper)
 {
     _dictionariesClient = dictionariesClient ??
                           throw new ArgumentNullException(nameof(dictionariesClient));
     _mapper = mapper;
 }
 public ListsController(IDictionariesClient dictionariesClient, IMapper mapper)
 {
     _dictionariesClient = dictionariesClient;
     _mapper             = mapper;
 }