Esempio n. 1
0
 public OnlineLoginController(ISettings settings, IUserLoginRepository userLoginRepository, ICustomerRepository customerRepository, ITempcartService tempcartService)
 {
     _settings            = settings;
     _userLoginRepository = userLoginRepository;
     _customerRepository  = customerRepository;
     _tempcartService     = tempcartService;
 }
Esempio n. 2
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;
 }
Esempio n. 3
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;
 }
Esempio n. 4
0
 public OnlineHealthAssessmentService(ICustomerHafQuestionService customerHafQuestionService, ICustomerRepository customerRepository,
                                      IEventCustomerPackageTestDetailService eventCustomerPackageTestDetailService,
                                      IEventPodRepository eventPodRepository, IHealthAssessmentService healthAssessmentService, ITempcartService tempcartService, ICustomerService customerService)
 {
     _customerHafQuestionService            = customerHafQuestionService;
     _customerRepository                    = customerRepository;
     _eventCustomerPackageTestDetailService = eventCustomerPackageTestDetailService;
     _eventPodRepository                    = eventPodRepository;
     _healthAssessmentService               = healthAssessmentService;
     _tempcartService = tempcartService;
     _customerService = customerService;
 }
Esempio n. 5
0
 public OnlineAppointmentService(IEventPackageSelectorService eventPackageSelectorService, IEventSchedulingSlotRepository eventSchedulingSlotRepository, EventPackageRepository eventPackageRepository,
                                 IEventSchedulingSlotService eventSchedulingSlotService, ITempcartService tempcartService, IEventRepository eventRepository, IEventAppointmentOnlineListModelFactory eventAppointmentOnlineListModelFactory,
                                 IEventTestRepository eventTestRepository, IOnlineShippingService onlineShippingService)
 {
     _eventPackageSelectorService   = eventPackageSelectorService;
     _eventSchedulingSlotRepository = eventSchedulingSlotRepository;
     _eventPackageRepository        = eventPackageRepository;
     _eventSchedulingSlotService    = eventSchedulingSlotService;
     _tempcartService = tempcartService;
     _eventRepository = eventRepository;
     _eventAppointmentOnlineListModelFactory = eventAppointmentOnlineListModelFactory;
     _eventTestRepository = eventTestRepository;
 }
Esempio n. 6
0
 public OnlinePackageService(IEventRepository eventRepository,
                             IEventPackageRepository eventPackageRepository, IEventTestRepository eventTestRepository, IShippingOptionRepository shippingOptionRepository,
                             EventSchedulingSlotRepository eventSchedulingSlotRepository, IElectronicProductRepository electronicProductRepository, IEventPackageSelectorService eventPackageSelectorService,
                             IEventSchedulingSlotService eventSchedulingSlotService, ITempcartService tempcartService, ICorporateAccountRepository corporateAccountRepository,
                             IUniqueItemRepository <Test> testRepository, IHospitalPartnerRepository hospitalPartnerRepository)
 {
     _eventRepository               = eventRepository;
     _eventPackageRepository        = eventPackageRepository;
     _eventTestRepository           = eventTestRepository;
     _shippingOptionRepository      = shippingOptionRepository;
     _eventSchedulingSlotRepository = eventSchedulingSlotRepository;
     _electronicProductRepository   = electronicProductRepository;
     _eventPackageSelectorService   = eventPackageSelectorService;
     _eventSchedulingSlotService    = eventSchedulingSlotService;
     _tempcartService               = tempcartService;
     _corporateAccountRepository    = corporateAccountRepository;
     _testRepository            = testRepository;
     _hospitalPartnerRepository = hospitalPartnerRepository;
 }
Esempio n. 7
0
        public OnlineEventController(IConfigurationSettingRepository configurationSettingRepository, ITempcartService tempcartService, IOnlineEventService onlineEventService, IEventSchedulerService eventSchedulerService, ICityRepository cityRepository, IEventRepository eventRepository, ICorporateAccountRepository corporateAccountRepository,
                                     IGoogleAnalyticsReportingDataService googleAnalyticsReportingDataService, IEventTestRepository eventTestRepository)
        {
            _cutOffhoursbeforeEventSelection = Convert.ToInt32(configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.CutOffHourNumberforOnlineEventSelection));
            _maxNumberOfEventstoFetch        = Convert.ToInt32(configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.MaxNoOfEventToShowOnline));
            _maxNumberOfEventstoFetch        = _maxNumberOfEventstoFetch > 0 ? _maxNumberOfEventstoFetch : 25;
            _pageSize = _pageSize > 0 ? _pageSize : 4;

            var value = configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.AskPreQualificationQuestion);

            _askPreQualifierQuestionSetting = value.ToLower() == bool.TrueString.ToLower();

            _tempcartService                     = tempcartService;
            _onlineEventService                  = onlineEventService;
            _eventSchedulerService               = eventSchedulerService;
            _cityRepository                      = cityRepository;
            _eventRepository                     = eventRepository;
            _corporateAccountRepository          = corporateAccountRepository;
            _googleAnalyticsReportingDataService = googleAnalyticsReportingDataService;
            _eventTestRepository                 = eventTestRepository;
        }
Esempio n. 8
0
 public OnlinePackageController(ITempcartService tempcartService, IOnlinePackageService onlinePackageService)
 {
     _tempcartService      = tempcartService;
     _onlinePackageService = onlinePackageService;
 }
Esempio n. 9
0
 public OnlineConfirmationController(ITempcartService tempcartService, IEventRepository eventRepository)
 {
     _tempcartService = tempcartService;
     _eventRepository = eventRepository;
 }
 public OnlineHealthAssessmentController(ILogManager logManager, ITempcartService tempcartService, IOnlineHealthAssessmentService onlineHealthAssessmentService)
 {
     _tempcartService = tempcartService;
     _onlineHealthAssessmentService = onlineHealthAssessmentService;
     _logger = logManager.GetLogger <OnlineHealthAssessmentController>();
 }