public ContactCustomerController(ICallQueueRepository callQueueRepository, IEventService eventService,
                                  ICallQueueCustomerLockRepository callQueueCustomerLockRepository, ICallQueueCustomerRepository callQueueCustomerRepository,
                                  ICallQueueCustomerContactService callQueueCustomerContactService, ISessionContext sessionContext,
                                  IProspectCustomerRepository prospectCustomerRepository, IEventSchedulerService eventSchedulerService,
                                  IStateRepository stateRepository, ICallOutcomeService callOutcomeService, ICustomerRepository customerRepository, IPrimaryCarePhysicianHelper primaryCarePhysicianHelper,
                                  ICallCenterCallRepository callCenterCallRepository, ICustomerCallQueueCallAttemptRepository customerCallQueueCallAttemptRepository,
                                  ICustomerService customerService, IEventCustomerRepository eventCustomerRepository,
                                  IAppointmentRepository appointmentRepository, ISmsHelper smsHelper)
 {
     _callQueueRepository                    = callQueueRepository;
     _eventService                           = eventService;
     _callQueueCustomerLockRepository        = callQueueCustomerLockRepository;
     _callQueueCustomerRepository            = callQueueCustomerRepository;
     _callQueueCustomerContactService        = callQueueCustomerContactService;
     _sessionContext                         = sessionContext;
     _prospectCustomerRepository             = prospectCustomerRepository;
     _eventSchedulerService                  = eventSchedulerService;
     _stateRepository                        = stateRepository;
     _callOutcomeService                     = callOutcomeService;
     _customerRepository                     = customerRepository;
     _primaryCarePhysicianHelper             = primaryCarePhysicianHelper;
     _callCenterCallRepository               = callCenterCallRepository;
     _customerCallQueueCallAttemptRepository = customerCallQueueCallAttemptRepository;
     _customerService                        = customerService;
     _eventCustomerRepository                = eventCustomerRepository;
     _appointmentRepository                  = appointmentRepository;
     _smsHelper = smsHelper;
 }
 public ContactCustomerController(ICallQueueCustomerContactService callQueueCustomerContactService, IOutboundCallQueueService outboundCallQueueService, ITagRepository tagRepository, ICallOutcomeService callOutcomeService,
                                  IEventService eventService, ISessionContext sessionContext, IPrimaryCarePhysicianHelper primaryCarePhysicianHelper, ICityRepository cityRepository, IEventSchedulerService eventSchedulerService,
                                  ICallQueueCustomerRepository callQueueCustomerRepository, IEventCustomerRepository eventCustomerRepository, IProspectCustomerRepository prospectCustomerRepository, ICustomerService customerService,
                                  ICustomerCallQueueCallAttemptRepository customerCallQueueCallAttemptRepository, ISmsHelper smsHelper, IAppointmentRepository appointmentRepository, ICallCenterCallRepository callCenterCallRepository, ILogManager logManager,
                                  IPreApprovedTestRepository preApprovedTestRepository, IEventTestRepository eventTestRepository, IPreQualificationTestTemplateRepository preQualificationTestTemplateRepository)
 {
     _callQueueCustomerContactService = callQueueCustomerContactService;
     _outboundCallQueueService        = outboundCallQueueService;
     _tagRepository                          = tagRepository;
     _callOutcomeService                     = callOutcomeService;
     _eventService                           = eventService;
     _sessionContext                         = sessionContext;
     _primaryCarePhysicianHelper             = primaryCarePhysicianHelper;
     _cityRepository                         = cityRepository;
     _eventSchedulerService                  = eventSchedulerService;
     _callQueueCustomerRepository            = callQueueCustomerRepository;
     _eventCustomerRepository                = eventCustomerRepository;
     _prospectCustomerRepository             = prospectCustomerRepository;
     _customerService                        = customerService;
     _customerCallQueueCallAttemptRepository = customerCallQueueCallAttemptRepository;
     _smsHelper                 = smsHelper;
     _appointmentRepository     = appointmentRepository;
     _callCenterCallRepository  = callCenterCallRepository;
     _preApprovedTestRepository = preApprovedTestRepository;
     _eventTestRepository       = eventTestRepository;
     _preQualificationTestTemplateRepository = preQualificationTestTemplateRepository;
     _logger = logManager.GetLogger("ContactCustomerController");
 }
Example #3
0
        public HealthPlanCallRoundService(IHealthPlanCallQueueCustomerHelper healthPlanCallQueueCustomerHelper, ICustomerRepository customerRepository, IFillEventsCallQueueService fillEventsCallQueueService, ISettings settings,
                                          IHealthPlanFillEventCallQueueRepository healthPlanFillEventCallQueueRepository, ISmsHelper smsHelper)
        {
            _healthPlanCallQueueCustomerHelper = healthPlanCallQueueCustomerHelper;
            _customerRepository                     = customerRepository;
            _fillEventsCallQueueService             = fillEventsCallQueueService;
            _healthPlanFillEventCallQueueRepository = healthPlanFillEventCallQueueRepository;
            _smsHelper = smsHelper;

            _noPastAppointmentInDays = settings.NoPastAppointmentInDays;
            _noPastAppointmentForUncontactedCustomer = settings.NoPastAppointmentInDaysUncontactedCustomers;
            _neverBeenCalledInDays = settings.NeverBeenCalledInDays;
        }
 public NoShowCustomerPollingAgent(ILogManager logManager, ISettings settings, IEventCustomerRepository eventCustomerRepository, IAppointmentRepository appointmentRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                   INotifier notifier, IEventRepository eventRepository, ISmsHelper smsHelper)
 {
     _eventRepository                = eventRepository;
     _smsHelper                      = smsHelper;
     _eventCustomerRepository        = eventCustomerRepository;
     _appointmentRepository          = appointmentRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _logger   = logManager.GetLogger <NoShowCustomerPollingAgent>();
     _minutesAfterAppointmentTime    = settings.MinutesAfterAppointmentTime;
     _noShowCustomerScheduleInterval = settings.NoShowCustomerScheduleInterval;
 }
        public SmsHelperTest()
        {
            var options = new SmsHelperOptions
            {
                AccessKeyId     = "",
                AccessKeySecret = "",
                Endpoint        = "dysmsapi.aliyuncs.com",
                SignName        = "",
                TemplateCodes   = new Dictionary <string, string> {
                    ["VerificationCode"] = ""
                }
            };

            _smsHelper = new SmsHelper(options);
        }
Example #6
0
 public AccountController(UserManager <AppUser> userManager,
                          SignInManager <AppUser> signInManager,
                          IAppUserService appUserService,
                          ILogger <AccountController> logger,
                          //IMemoryCache cache,
                          ISmsHelper smsHelper,
                          IEmailSender emailSender, IOptions <MyConfiguration> options)
 {
     _userManager    = userManager;
     _signInManager  = signInManager;
     _appUserService = appUserService;
     _smsHelper      = smsHelper;
     //_cache = cache;
     _log         = logger;
     _myConfig    = options.Value;
     _emailSender = emailSender;
 }
        public PreAssessmentCallQueueController(ILogManager logManager, ISessionContext sessionContext, IPrimaryCarePhysicianHelper primaryCarePhysicianHelper,
                                                ICallOutcomeService callOutcomeService, ITagRepository tagRepository, IOutboundCallQueueService outboundCallQueueService, ICallCenterCallRepository callCenterCallRepository,
                                                IPreAssessmentCustomerCallQueueCallAttemptRepository preAssessmentCustomerCallQueueCallAttemptRepository, ICustomerService customerService, IEventCustomerRepository eventCustomerRepository, IAppointmentRepository appointmentRepository,
                                                IEventService eventService, ISmsHelper smsHelper, IProspectCustomerRepository prospectCustomerRepository, IPreAssessmentCallQueueService preAssessmentCallQueueService
                                                )
        {
            _logger                     = logManager.GetLogger("PreAssessmentCallQueueController");
            _sessionContext             = sessionContext;
            _primaryCarePhysicianHelper = primaryCarePhysicianHelper;
            _callOutcomeService         = callOutcomeService;
            _tagRepository              = tagRepository;
            _outboundCallQueueService   = outboundCallQueueService;
            _callCenterCallRepository   = callCenterCallRepository;

            _preAssessmentCustomerCallQueueCallAttemptRepository = preAssessmentCustomerCallQueueCallAttemptRepository;
            _customerService         = customerService;
            _eventCustomerRepository = eventCustomerRepository;
            _appointmentRepository   = appointmentRepository;
            _eventService            = eventService;
            _smsHelper = smsHelper;
            _prospectCustomerRepository    = prospectCustomerRepository;
            _preAssessmentCallQueueService = preAssessmentCallQueueService;
        }
Example #8
0
 public Worker(ISmsHelper smsHelper, ILogger <Worker> logger)
 {
     _logger    = logger;
     _smsHelper = smsHelper;
 }