Exemplo n.º 1
0
 public OnlinePaymentController(ITempcartService tempcartService, ICustomerRepository customerRepository, IProspectCustomerService prospectCustomerService
                                , IEligibilityService eligibilityService, IChargeCardRepository chargeCardRepository, IEventSchedulerService eventSchedulerService, IConfigurationSettingRepository configurationSettingRepository
                                , ISettings settings, IValidator <PaymentInstrumentEditModel> paymentValidator, IEventSchedulingSlotService slotService, IAddressService addressService, IStateRepository stateRepository
                                , ICustomerService customerService, IPaymentController paymentController, ICorporateAccountRepository corporateAccountRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory
                                , IEventRepository eventRepository, ICustomerRegistrationService customerRegistrationService, INotifier notifier, ICallQueueCustomerRepository callQueueCustomerRepository, IEventSchedulingSlotService eventSchedulingSlotService, IGiftCertificateService giftCertificateService, IUniqueItemRepository <ProspectCustomer> uniqueItemRepository, IToolTipRepository toolTipRepository
                                )
 {
     _tempcartService         = tempcartService;
     _customerRepository      = customerRepository;
     _prospectCustomerService = prospectCustomerService;
     _eligibilityService      = eligibilityService;
     _chargeCardRepository    = chargeCardRepository;
     _eventSchedulerService   = eventSchedulerService;
     _settings                       = settings;
     _paymentValidator               = paymentValidator;
     _slotService                    = slotService;
     _addressService                 = addressService;
     _stateRepository                = stateRepository;
     _customerService                = customerService;
     _paymentController              = paymentController;
     _corporateAccountRepository     = corporateAccountRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _eventRepository                = eventRepository;
     _customerRegistrationService    = customerRegistrationService;
     _notifier                       = notifier;
     _callQueueCustomerRepository    = callQueueCustomerRepository;
     _eventSchedulingSlotService     = eventSchedulingSlotService;
     _giftCertificateService         = giftCertificateService;
     _configurationSettingRepository = configurationSettingRepository;
     _enableTexting                  = Convert.ToBoolean(configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.EnableSmsNotification));
     _prospectCustomerRepository     = uniqueItemRepository;
     _toolTipRepository              = toolTipRepository;
 }
Exemplo n.º 2
0
 public OnlineCustomerController(IUniqueItemRepository <ProspectCustomer> uniqueItemRepository
                                 , ITempcartService tempcartService, ICustomerService customerService, IConfigurationSettingRepository configurationSettingRepository
                                 , ICustomerRepository customerRepository, IProspectCustomerService prospectCustomerService, IEventRepository eventRepository
                                 , ICorporateAccountRepository corporateAccountRepository, IHospitalPartnerRepository hospitalPartnerRepository, IStateRepository stateRepository
                                 , IMarketingSourceService marketingSourceService, ISettings settings, IEventSchedulerService eventSchedulerService, IUserLoginRepository userLoginRepository,
                                 IPasswordChangelogService passwordChangeLogService, IOnlineShippingService onlineShippingService)
 {
     _prospectCustomerRepository = uniqueItemRepository;
     _tempcartService            = tempcartService;
     _customerService            = customerService;
     _customerRepository         = customerRepository;
     _prospectCustomerService    = prospectCustomerService;
     _eventRepository            = eventRepository;
     _corporateAccountRepository = corporateAccountRepository;
     _hospitalPartnerRepository  = hospitalPartnerRepository;
     _stateRepository            = stateRepository;
     _marketingSourceService     = marketingSourceService;
     _settings = settings;
     _eventSchedulerService    = eventSchedulerService;
     _userLoginRepository      = userLoginRepository;
     _passwordChangeLogService = passwordChangeLogService;
     _onlineShippingService    = onlineShippingService;
     _enableTexting            = Convert.ToBoolean(configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.EnableSmsNotification));
     _enableVoiceMail          = Convert.ToBoolean(configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.EnableVoiceMailNotification));
     _onlineCity = _settings.City;
     _onlineZip  = _settings.ZipCode;
 }
 public ExportableReportsController(IProspectCustomerService prospectCustomerService, IMediaRepository mediaRepository, IZipHelper zipHelper,
                                    ILogManager logManager, ISessionContext sessionContext, ILoginSettingRepository loginSettingRepository, IRoleRepository roleRepository, IOrganizationRoleUserRepository organizationRoleUserRepository,
                                    IUserRepository <User> userRepository, ISettings settings)
     : base(zipHelper, logManager, sessionContext, loginSettingRepository, roleRepository, organizationRoleUserRepository, userRepository, settings)
 {
     _prospectCustomerService = prospectCustomerService;
     _tempMediaLocation       = mediaRepository.GetTempMediaFileLocation();
 }
Exemplo n.º 4
0
 public ReportsController(IProspectCustomerService prospectCustomerService, ISettings settings, IProspectCustomerRepository prospectCustomerRepository, ISessionContext sessionContext,
                          ICustomerRepository customerRepository, ICallQueueCustomerRepository callQueueCustomerRepository, ICallQueueCustomerCallRepository callQueueCustomerCallRepository, IOutboundCallQueueService outboundCallQueueService,
                          ILogManager logManager, ICustomerService customerService)
 {
     _prospectCustomerService = prospectCustomerService;
     _pageSize = settings.DefaultPageSizeForReports;
     _prospectCustomerRepository      = prospectCustomerRepository;
     _sessionContext                  = sessionContext;
     _customerRepository              = customerRepository;
     _callQueueCustomerRepository     = callQueueCustomerRepository;
     _callQueueCustomerCallRepository = callQueueCustomerCallRepository;
     _outboundCallQueueService        = outboundCallQueueService;
     _customerService                 = customerService;
     _logger = logManager.GetLogger <ReportsController>();
 }