Esempio 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;
 }
Esempio n. 2
0
 public UserController(IUserRepository <User> userRepository, IUserService userService, IUsersListModelRepository usersListModelRepository, ITestRepository testRepository, IPodRepository podRepository, ISessionContext sessionContext,
                       IUniqueItemRepository <Core.Application.Domain.File> fileRepository, IMediaRepository mediaRepository, IUserLoginRepository userLoginRepository, IOrganizationRoleUserRepository organizationRoleUserRepository,
                       IPhysicianRepository physicianRepository, IEventStaffAssignmentRepository eventStaffAssignmentRepository, IPasswordChangelogService passwordChangelogService, IConfigurationSettingRepository configurationSettingRepository,
                       IMedicareApiService medicareApiService, IMedicareService medicareService, IRoleRepository roleRepository, ILogManager logManager,
                       IUserNpiInfoRepository userNpiInfoRepository, ISystemUserInfoRepository systemUserInfoRepository, IPinChangeLogService pinChangelogService)
 {
     _userRepository                 = userRepository;
     _userService                    = userService;
     _usersListModelRepository       = usersListModelRepository;
     _testRepository                 = testRepository;
     _podRepository                  = podRepository;
     _sessionContext                 = sessionContext;
     _fileRepository                 = fileRepository;
     _mediaRepository                = mediaRepository;
     _userLoginRepository            = userLoginRepository;
     _organizationRoleUserRepository = organizationRoleUserRepository;
     _physicianRepository            = physicianRepository;
     _eventStaffAssignmentRepository = eventStaffAssignmentRepository;
     _passwordChangelogService       = passwordChangelogService;
     _configurationSettingRepository = configurationSettingRepository;
     _medicareApiService             = medicareApiService;
     _medicareService                = medicareService;
     _roleRepository                 = roleRepository;
     _logger = logManager.GetLogger <UserController>();
     _userNpiInfoRepository    = userNpiInfoRepository;
     _systemUserInfoRepository = systemUserInfoRepository;
     _pinChangelogService      = pinChangelogService;
 }
Esempio n. 3
0
 public RefundRequestController(IRepository <RefundRequest> repository, ISessionContext sessionContext, ISettings settings, IRefundRequestService refundRequestService, IEventCustomerService eventCustomerService, ILogManager logManager,
                                IPaymentController paymentController, ICustomerRepository customerRepository, IElectronicProductRepository electronicProductRepository, IOrderRepository orderRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                IOrderController orderController, IChargeCardRepository chargeCardRepository, IOrganizationRoleUserRepository orgRoleUserRepository, IConfigurationSettingRepository configurationSettingRepository, INotifier notifier,
                                IRefundRequestRepository refundRequestRepository, IEventAppointmentCancellationLogRepository eventAppointmentCancellationLogRepository)
 {
     _repository                     = repository;
     _sessionContext                 = sessionContext;
     _isEccEnabled                   = settings.IsEccEnabled;
     _pageSize                       = settings.DefaultPageSizeForReports;
     _refundRequestService           = refundRequestService;
     _eventCustomerService           = eventCustomerService;
     _paymentController              = paymentController;
     _customerRepository             = customerRepository;
     _electronicProductRepository    = electronicProductRepository;
     _orderRepository                = orderRepository;
     _chargeCardRepository           = chargeCardRepository;
     _orderController                = orderController;
     _notifier                       = notifier;
     _configurationSettingRepository = configurationSettingRepository;
     _orgRoleUserRepository          = orgRoleUserRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _logger = logManager.GetLogger <Global>();
     _refundRequestRepository = refundRequestRepository;
     _eventAppointmentCancellationLogRepository = eventAppointmentCancellationLogRepository;
 }
Esempio n. 4
0
 public ResultsController(ITestResultService testResultService, IEventCustomerResultRepository eventCustomerResultRepository, IHealthAssessmentService healthAssessmentService, ISessionContext sessionContext,
                          ISettings settings, ICustomerService customerService, ILogManager logManager, IPdfGenerator pdfGenerator, IMediaRepository mediaRepository, IConfigurationSettingRepository configurationSettingRepository,
                          IKynHealthAssessmentService kynHealthAssessmentService, IGenerateKynLipidService generateKynLipidService, IFluVaccinationConsentService vaccinationConsentService, IEventCustomerRepository eventCustomerRepository
                          , IPriorityInQueueService priorityInQueueService, ICustomerEventPriorityInQueueDataRepository priorityInQueueRepository, IEventRepository eventRepository, INewResultFlowStateService newResultFlowStateService,
                          IGiftCardService giftCardService, IParticipationConsentService participationConsentService, IChaperoneService chaperoneService)
 {
     _customerService               = customerService;
     _testResultService             = testResultService;
     _eventCustomerResultRepository = eventCustomerResultRepository;
     _healthAssessmentService       = healthAssessmentService;
     _sessionContext = sessionContext;
     _pageSize       = settings.DefaultPageSizeForReports;
     _logger         = logManager.GetLogger <Global>();
     _pdfGenerator   = pdfGenerator;
     _pdfGenerator.AllowLoadingJavascriptbeforePdfGenerate = true;
     _mediaRepository = mediaRepository;
     _settings        = settings;
     _configurationSettingRepository = configurationSettingRepository;
     _kynHealthAssessmentService     = kynHealthAssessmentService;
     _generateKynLipidService        = generateKynLipidService;
     _vaccinationConsentService      = vaccinationConsentService;
     _eventCustomerRepository        = eventCustomerRepository;
     _priorityInQueueService         = priorityInQueueService;
     _priorityInQueueRepository      = priorityInQueueRepository;
     _eventRepository             = eventRepository;
     _newResultFlowStateService   = newResultFlowStateService;
     _giftCardService             = giftCardService;
     _participationConsentService = participationConsentService;
     _chaperoneService            = chaperoneService;
 }
Esempio n. 5
0
        public void SetUp()
        {
            _mocks             = new MockRepository();
            _persistenceLayer  = _mocks.StrictMock <IPersistenceLayer>();
            _dataAccessAdapter = _mocks.StrictMock <IDataAccessAdapter>();

            _repository = new ConfigurationSettingRepository(_persistenceLayer);
        }
Esempio n. 6
0
 public AwvQueueFaxPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository,
                                ILogManager logManager, ISettings settings, IConfigurationSettingRepository configurationSettingRepository, IQueueCustomerFaxResultNotificationService queueCustomerFaxResult)
 {
     _eventCustomerResultRepository = eventCustomerResultRepository;
     _faxInterval = settings.AwvFaxServiceInvokeInterval;
     _logger      = logManager.GetLogger <ResultNotificationPollingAgent>();
     _configurationSettingRepository = configurationSettingRepository;
     _queueCustomerFaxResult         = queueCustomerFaxResult;
 }
Esempio n. 7
0
 public UserProfileService(IUserRepository <User> userRepository, IAddressService addressService, IOneWayHashingService oneWayHashingService, IConfigurationSettingRepository configurationSettingRepository,
                           IRoleRepository roleRepository, ILoginSettingRepository loginSettingRepository)
 {
     _oneWayHashingService           = oneWayHashingService;
     _configurationSettingRepository = configurationSettingRepository;
     _roleRepository         = roleRepository;
     _loginSettingRepository = loginSettingRepository;
     _userRepository         = userRepository;
     _addressService         = addressService;
 }
Esempio n. 8
0
 public EvaluationReminderNotificationPollingAgent(IOrganizationRoleUserRepository organizationRoleUserRepository, IPhysicianRepository physicianRepository, ILogManager logManager,
                                                   IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier, IConfigurationSettingRepository configurationSettingRepository)
 {
     _organizationRoleUserRepository = organizationRoleUserRepository;
     _physicianRepository            = physicianRepository;
     _logger = logManager.GetLogger <EvaluationReminderNotificationPollingAgent>();
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _configurationSettingRepository = configurationSettingRepository;
 }
Esempio n. 9
0
 public SourceCodeController(ISourceCodeRepository sourceCodeRepository, IConfigurationSettingRepository configurationSettingRepository, ISessionContext sessionContext, ISettings settings,
                             ISourceCodeService sourceCodeService, IValidator <SourceCodeItemWiseDiscountEditModel> sourceCodeItemWiseValidator, IEventRepository eventRepository)
 {
     _configurationSettingRepository = configurationSettingRepository;
     _sourceCodeRepository           = sourceCodeRepository;
     _sourceCodeItemWiseValidator    = sourceCodeItemWiseValidator;
     _sessionContext    = sessionContext;
     _sourceCodeService = sourceCodeService;
     _pageSize          = settings.DefaultPageSizeForReports;
     _eventRepository   = eventRepository;
 }
Esempio n. 10
0
 public LoginOtpService(ILoginOtpRepository loginOtpRepository, IConfigurationSettingRepository configurationSettingRepository, IRandomStringGenerator randomStringGenerator,
                        INotifier notifier, IPhoneNotificationModelsFactory smsNotificationModelsFactory, IEmailNotificationModelsFactory emailNotificationModelsFactory, ILoginSettingRepository loginSettingRepository,
                        ISessionContext sessionContext)
 {
     _loginOtpRepository             = loginOtpRepository;
     _configurationSettingRepository = configurationSettingRepository;
     _randomStringGenerator          = randomStringGenerator;
     _notifier = notifier;
     _smsNotificationModelsFactory   = smsNotificationModelsFactory;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _loginSettingRepository         = loginSettingRepository;
     _sessionContext = sessionContext;
 }
Esempio n. 11
0
 public LoginController(ISessionContext sessionContext, IUserLoginRepository userLoginRepository, IUserLoginService userLoginService, IUserRepository <User> userRepository, IUniqueItemRepository <UserLoginLog> uniqueItemRepository,
                        ILogManager logManager, ITechnicianRepository technicianRepository, IConfigurationSettingRepository configurationSettingRepository, IPinChangeLogService pinChangeLogService)
 {
     _sessionContext                 = sessionContext;
     _userLoginRepository            = userLoginRepository;
     _userLoginService               = userLoginService;
     _userRepository                 = userRepository;
     _uniqueItemRepository           = uniqueItemRepository;
     _technicianRepository           = technicianRepository;
     _configurationSettingRepository = configurationSettingRepository;
     _pinChangeLogService            = pinChangeLogService;
     _logger = logManager.GetLogger <LoginController>();
 }
Esempio n. 12
0
        public PhysicianPartnerQueueFaxPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, INotifier notifier, ILogManager logManager, IPrimaryCarePhysicianRepository pcpRepository,
                                                    IMediaRepository mediaRepository, IEventCustomerNotificationRepository eventCustomerNotificationRepository, IConfigurationSettingRepository configurationSettingRepository, ISettings settings, IUniqueItemRepository <CorporateAccount> corporateAccountRepository)
        {
            _eventCustomerResultRepository = eventCustomerResultRepository;

            _notifier        = notifier;
            _faxInterval     = settings.FaxServiceInvokeInterval;
            _logger          = logManager.GetLogger <ResultNotificationPollingAgent>();
            _pcpRepository   = pcpRepository;
            _mediaRepository = mediaRepository;
            _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
            _configurationSettingRepository      = configurationSettingRepository;
            _settings = settings;
            _corporateAccountRepository = corporateAccountRepository;
        }
 public HafGenerationPollingAgent(IEventRepository eventRepository, IMediaRepository mediaRepository, IEventCustomerRepository eventCustomerRepository, IPdfGenerator pdfGenerator, ISettings settings, ILogManager logManager,
                                  IConfigurationSettingRepository configurationSettingRepository, ICorporateAccountRepository corporateAccountRepository, IUniqueItemRepository <DomainFile> fileRepository, ICustomerRepository customerRepository)
 {
     _eventRepository         = eventRepository;
     _mediaRepository         = mediaRepository;
     _eventCustomerRepository = eventCustomerRepository;
     _pdfGenerator            = pdfGenerator;
     _settings = settings;
     _pdfGenerator.AllowLoadingJavascriptbeforePdfGenerate = true;
     _logger = logManager.GetLogger("Health_Assessment_Form_Generator");
     _configurationSettingRepository = configurationSettingRepository;
     _corporateAccountRepository     = corporateAccountRepository;
     _fileRepository     = fileRepository;
     _customerRepository = customerRepository;
 }
Esempio n. 14
0
 public ScreeningReminderPollingAgent(IEventRepository eventRepository, IEventCustomerRepository eventCustomerRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, ICustomerRepository customerRepository,
                                      INotifier notifier, ILogManager logManager, ISettings settings, IConfigurationSettingRepository configurationSettingRepository, ICorporateAccountRepository corporateAccountRepository,
                                      IEmailTemplateRepository emailTemplateRepository)
 {
     _eventRepository                = eventRepository;
     _eventCustomerRepository        = eventCustomerRepository;
     _customerRepository             = customerRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _logger   = logManager.GetLogger <ScreeningReminderPollingAgent>();
     _daysIntervalBeforeEvent        = settings.DaysBeforeScreeningReminder;
     _configurationSettingRepository = configurationSettingRepository;
     _corporateAccountRepository     = corporateAccountRepository;
     _emailTemplateRepository        = emailTemplateRepository;
 }
Esempio n. 15
0
 public MedicalVendorController(IOrganizationService organizationService, IPackageRepository packageRepository, ITerritoryRepository territoryRepository, ISessionContext sessionContext, IUniqueItemRepository <File> fileRepository,
                                IMediaRepository mediaRepository, IMedicalVendorRepository medicalVendorRepository, IHospitalPartnerRepository hospitalPartnerRepository, ISettings settings, IHospitalFacilityRepository hospitalFacilityRepository,
                                IConfigurationSettingRepository configurationSettingRepository, IShippingOptionRepository shippingOptionRepository)
 {
     _organizationService       = organizationService;
     _packageRepository         = packageRepository;
     _territoryRepository       = territoryRepository;
     _mediaRepository           = mediaRepository;
     _sessionContext            = sessionContext;
     _fileRepository            = fileRepository;
     _medicalVendorRepository   = medicalVendorRepository;
     _hospitalPartnerRepository = hospitalPartnerRepository;
     _pageSize = settings.DefaultPageSizeForReports;
     _hospitalFacilityRepository     = hospitalFacilityRepository;
     _configurationSettingRepository = configurationSettingRepository;
     _shippingOptionRepository       = shippingOptionRepository;
 }
        public ParseMonarchAttesationFormPollingAgent(IEventRepository eventRepository, ISettings settings,
                                                      IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository,
                                                      ICorporateAccountRepository corporateAccountRepository, ILogManager logManager,
                                                      IMediaRepository mediaRepository, IPdfGenerator pdfGenerator, IConfigurationSettingRepository configurationSettingRepository)
        {
            _eventRepository            = eventRepository;
            _eventCustomerRepository    = eventCustomerRepository;
            _customerRepository         = customerRepository;
            _corporateAccountRepository = corporateAccountRepository;
            _mediaRepository            = mediaRepository;

            _accountIds   = settings.AttestionFormParseAccountIds;
            _logger       = logManager.GetLogger("Parsing Monarch Attestation");
            _settings     = settings;
            _pdfGenerator = pdfGenerator;
            _pdfGenerator.AllowLoadingJavascriptbeforePdfGenerate = true;
            _configurationSettingRepository = configurationSettingRepository;
        }
 public EventPackageSelectorService(IPackageRepository packageRepository, IEventPackageRepository eventPackageRepository, IEventTestRepository eventTestRepository, IElectronicProductRepository productRepository,
                                    IEventRepository eventRepository, IShippingOptionRepository shippingOptionRepository, IConfigurationSettingRepository configurationRepository, IUniqueItemRepository <File> fileRepository, IMediaRepository mediaRepository,
                                    ICustomerRepository customerRepository, IEventSchedulingSlotService slotService, IAccountPackageRepository accountPackageRepository, IHospitalPartnerPackageRepository hospitalPartnerPackageRepository, ICorporateAccountRepository corporateAccountRepository, IRoleRepository roleRepository)
 {
     _packageRepository        = packageRepository;
     _eventPackageRepository   = eventPackageRepository;
     _eventTestRepository      = eventTestRepository;
     _productRepository        = productRepository;
     _shippingOptionRepository = shippingOptionRepository;
     _eventRepository          = eventRepository;
     _configurationRepository  = configurationRepository;
     _mediaRepository          = mediaRepository;
     _fileRepository           = fileRepository;
     _customerRepository       = customerRepository;
     _slotService = slotService;
     _accountPackageRepository         = accountPackageRepository;
     _hospitalPartnerPackageRepository = hospitalPartnerPackageRepository;
     _corporateAccountRepository       = corporateAccountRepository;
     _roleRepository = roleRepository;
 }
Esempio n. 18
0
        public ResultReadyNotificationPollingAgent(ILogManager logManager, IEventCustomerResultRepository eventCustomerResultRepository, ICustomerRepository customerRepository, IConfigurationSettingRepository configurationSettingRepository,
                                                   IEventRepository eventRepository, IShippingDetailRepository shippingDetailRepository, IDigitalAssetAccessLogRepository digitalAssetAccessLogRepository, INotifier notifier, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                                   ISettings setting, ICorporateAccountRepository corporateAccountRepository, IEmailTemplateRepository emailTemplateRepository, IPrimaryCarePhysicianRepository primaryCarePhysicianRepository)
        {
            _logger = logManager.GetLogger <ResultReadyNotificationPollingAgent>();
            _eventCustomerResultRepository  = eventCustomerResultRepository;
            _customerRepository             = customerRepository;
            _configurationSettingRepository = configurationSettingRepository;
            _eventRepository                 = eventRepository;
            _shippingDetailRepository        = shippingDetailRepository;
            _digitalAssetAccessLogRepository = digitalAssetAccessLogRepository;

            _notifier = notifier;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;

            _setting = setting;
            _corporateAccountRepository     = corporateAccountRepository;
            _emailTemplateRepository        = emailTemplateRepository;
            _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
        }
Esempio n. 19
0
        public ResultNotificationPollingAgent(IEventCustomerResultRepository eventCustomerResultRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory, ICustomerRepository customerRepository,
                                              INotifier notifier, ILogManager logManager, ISettings settings, IConfigurationSettingRepository configurationSettingRepository, IOrderRepository orderRepository, IShippingDetailRepository shippingDetailRepository,
                                              IEventRepository eventRepository, ICorporateAccountRepository corporateAccountRepository, IEmailTemplateRepository emailTemplateRepository, IPrimaryCarePhysicianRepository primaryCarePhysicianRepository)
        {
            _eventCustomerResultRepository  = eventCustomerResultRepository;
            _emailNotificationModelsFactory = emailNotificationModelsFactory;
            _customerRepository             = customerRepository;
            _notifier             = notifier;
            _testResultRepository = new TestResultRepository();
            _logger = logManager.GetLogger <ResultNotificationPollingAgent>();
            _buffer = settings.IntervalResultDeliveryBuffer;

            _configurationSettingRepository = configurationSettingRepository;
            _orderRepository                = orderRepository;
            _shippingDetailRepository       = shippingDetailRepository;
            _eventRepository                = eventRepository;
            _corporateAccountRepository     = corporateAccountRepository;
            _emailTemplateRepository        = emailTemplateRepository;
            _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
            _settings = settings;
        }
Esempio n. 20
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. 21
0
 public OrganizationService(IOrganizationRepository organizationRepository, IAddressService addressService, IAddressRepository addressRepository, ICorporateAccountRepository corporateAccountRepository,
                            ICorporateAccountListModelFactory corporateAccountListModelFactory, IMedicalVendorRepository medicalVendorRepository, IMedicalVendorListModelFactory medicalVendorListModelFactory,
                            IHospitalPartnerRepository hospitalPartnerRepository, IEventRepository eventRepository, IHostRepository hostRepository, IEventCustomerResultRepository eventCustomerResultRepository,
                            ICorporateAccountEventListFactory corporateAccountEventListFactory, IHospitalPartnerCustomerRepository hospitalPartnerCustomerRepository, ICustomerRepository customerRepository,
                            IUniqueItemRepository <File> fileRepository, IShippingDetailRepository shippingDetailRepository, IHospitalPartnerDashboardViewModelFactory hospitalPartnerViewModelFactory,
                            IHospitalFacilityRepository hospitalFacilityRepository, IHospitalFacilityListModelFactory hospitalFacilityListModelFactory, IPackageRepository packageRepository, IHospitalPartnerPackageFactory hospitalPartnerPackagFactory,
                            IHospitalPartnerPackageRepository hospitalPartnerPackageRepository, IConfigurationSettingRepository configurationSettingRepository, IEventAppointmentStatsService eventAppointmentStatsService, IPodRepository podRepository,
                            IEventStaffAssignmentRepository eventStaffAssignmentRepository, IOrganizationRoleUserRepository organizationRoleUserRepository, IEventVolumeFactory eventVolumeFactory, IUniqueItemRepository <CorporateAccount> uniqueItemCorporateAccountRepository, ICorporateAccountDashboardFactory corporateAccountDashboardFactory)
 {
     _fileRepository                    = fileRepository;
     _organizationRepository            = organizationRepository;
     _addressService                    = addressService;
     _addressRepository                 = addressRepository;
     _corporateAccountRepository        = corporateAccountRepository;
     _corporateAccountListModelFactory  = corporateAccountListModelFactory;
     _medicalVendorRepository           = medicalVendorRepository;
     _medicalVendorListModelFactory     = medicalVendorListModelFactory;
     _hospitalPartnerRepository         = hospitalPartnerRepository;
     _eventRepository                   = eventRepository;
     _hostRepository                    = hostRepository;
     _eventCustomerResultRepository     = eventCustomerResultRepository;
     _corporateAccountEventListFactory  = corporateAccountEventListFactory;
     _hospitalPartnerCustomerRepository = hospitalPartnerCustomerRepository;
     _shippingDetailRepository          = shippingDetailRepository;
     _hospitalPartnerViewModelFactory   = hospitalPartnerViewModelFactory;
     _customerRepository                = customerRepository;
     _hospitalFacilityRepository        = hospitalFacilityRepository;
     _hospitalFacilityListModelFactory  = hospitalFacilityListModelFactory;
     _packageRepository                 = packageRepository;
     _hospitalPartnerPackagFactory      = hospitalPartnerPackagFactory;
     _hospitalPartnerPackageRepository  = hospitalPartnerPackageRepository;
     _configurationSettingRepository    = configurationSettingRepository;
     _eventAppointmentStatsService      = eventAppointmentStatsService;
     _podRepository = podRepository;
     _eventStaffAssignmentRepository       = eventStaffAssignmentRepository;
     _organizationRoleUserRepository       = organizationRoleUserRepository;
     _eventVolumeFactory                   = eventVolumeFactory;
     _uniqueItemCorporateAccountRepository = uniqueItemCorporateAccountRepository;
     _corporateAccountDashboardFactory     = corporateAccountDashboardFactory;
 }
Esempio n. 22
0
 public EventSchedulerService(IEventRepository eventRepository, IAppointmentRepository appointmentRepository, IEventTestRepository eventTestRepository, IEventPackageRepository eventPackageRepository, IEventCustomerSummaryModelFactory eventCustomerSummaryModelFactory,
                              IHostRepository hostRepository, ITempCartRepository tempCartRepository, IOnlineSchedulingDataFactory onlineSchedulingDataFactory, IValidator <SourceCodeApplyEditModel> sourceCodeValidator, ISourceCodeRepository sourceCodeRepository,
                              ICustomerRepository customerRepository, IElectronicProductRepository electronicProductRepository, IShippingOptionRepository shippingOptionRepository, IPaymentController paymentController, IEventCustomerRepository eventCustomerRepository,
                              IShippingController shippingController, IOrderController orderController, IAddressRepository addressRepository, IHospitalPartnerRepository hospitalPartnerRepository, IShippingDetailOrderDetailRepository shipingDetailOrderDetailRepository,
                              IOrganizationRepository organizationRepository, IOrderRepository orderRepository, IRefundRequestRepository refundRequestRepository, IToolTipRepository toolTipRepository, IConfigurationSettingRepository configurationSettingRepository,
                              IEventSchedulingSlotService slotService, IEventSchedulingSlotRepository slotRepository, IEventAppointmentService eventAppointmentService, IEligibilityRepository eligibilityRepository, IChargeCardRepository chargeCardRepository, ICorporateAccountRepository corporateAccountRepository)
 {
     _customerRepository                 = customerRepository;
     _eventRepository                    = eventRepository;
     _appointmentRepository              = appointmentRepository;
     _eventPackageRepository             = eventPackageRepository;
     _eventTestRepository                = eventTestRepository;
     _tempCartRepository                 = tempCartRepository;
     _hostRepository                     = hostRepository;
     _onlineSchedulingDataFactory        = onlineSchedulingDataFactory;
     _sourceCodeValidator                = sourceCodeValidator;
     _sourceCodeRepository               = sourceCodeRepository;
     _eventCustomerSummaryModelFactory   = eventCustomerSummaryModelFactory;
     _productRepository                  = electronicProductRepository;
     _shippingOptionRepository           = shippingOptionRepository;
     _paymentController                  = paymentController;
     _eventCustomerRepository            = eventCustomerRepository;
     _shippingController                 = shippingController;
     _orderController                    = orderController;
     _shipingDetailOrderDetailRepository = shipingDetailOrderDetailRepository;
     _orderRepository                    = orderRepository;
     _addressRepository                  = addressRepository;
     _hospitalPartnerRepository          = hospitalPartnerRepository;
     _organizationRepository             = organizationRepository;
     _refundRequestRepository            = refundRequestRepository;
     _toolTipRepository                  = toolTipRepository;
     _configurationSettingRepository     = configurationSettingRepository;
     _slotService                = slotService;
     _slotRepository             = slotRepository;
     _eventAppointmentService    = eventAppointmentService;
     _eligibilityRepository      = eligibilityRepository;
     _chargeCardRepository       = chargeCardRepository;
     _corporateAccountRepository = corporateAccountRepository;
 }
Esempio n. 23
0
 public LoginController(ISettings settings, ISessionContext sessionContext, IUserLoginRepository userLoginRepository, IUserLoginService userLoginService, IUserRepository <User> userRepository,
                        ICustomerRepository customerRepository, IOrganizationRoleUserRepository organizationRoleUserRepository, ICorporateAccountRepository corporateAccountRepository,
                        IRoleRepository roleRepository, ILoginOtpService loginOtpService, IConfigurationSettingRepository configurationSettingRepository, ILoginSettingRepository loginSettingRepository,
                        ISafeComputerHistoryService safeComputerHistoryService, IMedicareApiService medicareApiService, IMedicareService medicareService, ILogManager logManager)
 {
     _settings                       = settings;
     _sessionContext                 = sessionContext;
     _loginRepository                = userLoginRepository;
     _loginService                   = userLoginService;
     _userRepository                 = userRepository;
     _customerRepository             = customerRepository;
     _organizationRoleUserRepository = organizationRoleUserRepository;
     _corporateAccountRepository     = corporateAccountRepository;
     _roleRepository                 = roleRepository;
     _loginOtpService                = loginOtpService;
     _configurationSettingRepository = configurationSettingRepository;
     _loginSettingRepository         = loginSettingRepository;
     _safeComputerHistoryService     = safeComputerHistoryService;
     _medicareApiService             = medicareApiService;
     _medicareService                = medicareService;
     _logger = logManager.GetLogger <LoginController>();
 }
Esempio n. 24
0
 public PinChangeLogService(IPinChangeLogRepository pinChangeLogRepository, IConfigurationSettingRepository configurationSettingRepository)
 {
     _pinChangeLogRepository         = pinChangeLogRepository;
     _configurationSettingRepository = configurationSettingRepository;
 }
 public SafeComputerHistoryService(ISafeComputerHistoryRepository safeComputerHistoryRepository, IConfigurationSettingRepository configurationSettingRepository)
 {
     _safeComputerHistoryRepository  = safeComputerHistoryRepository;
     _configurationSettingRepository = configurationSettingRepository;
     _safeDeviceExpiryDays           = Convert.ToInt32(_configurationSettingRepository.GetConfigurationValue(ConfigurationSettingName.SafeDeviceExpiryDays));
 }
 public ConfigurationReader(string connectionString, int refreshTimerIntervalInMs)
 {
     _refreshTimerIntervalInMs       = refreshTimerIntervalInMs;
     _configurationSettingRepository = new MongoConfigurationSettingRepository(connectionString);
 }
Esempio n. 27
0
 public ConfigurationSettingService(IConfigurationSettingRepository confSettingRepository)
 {
     _confSettingRepository = confSettingRepository;
 }
 public ConfigurationSettings(IConfigurationSettingRepository configurationSettingRepository, IConfigurationPublisher publisher)
 {
     this._configurationSettingRepository = configurationSettingRepository;
     this._publisher = publisher;
 }
Esempio n. 29
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. 30
0
 public void TearDown()
 {
     _mocks      = null;
     _repository = null;
 }