Example #1
0
 public HealthPlanEventZipService(ICorporateAccountRepository corporateAccountRepository, IHealthPlanEventZipRepository healthPlanEventZipRepository,
                                  IEventRepository eventRepository, IHostRepository hostRepository, ISettings settings, IAccountEventZipReposiory accountEventZipReposiory,
                                  IHealthPlanFillEventCallQueueRepository healthPlanFillEventCallQueueRepository, IZipRadiusDistanceRepository zipRadiusDistanceRepository)
 {
     _corporateAccountRepository   = corporateAccountRepository;
     _healthPlanEventZipRepository = healthPlanEventZipRepository;
     _eventRepository          = eventRepository;
     _hostRepository           = hostRepository;
     _settings                 = settings;
     _accountEventZipReposiory = accountEventZipReposiory;
     _healthPlanFillEventCallQueueRepository = healthPlanFillEventCallQueueRepository;
     _zipRadiusDistanceRepository            = zipRadiusDistanceRepository;
 }
        public AccountEventZipSubstituteRegenerationPollingAgent(ILogManager logManager, ICorporateAccountRepository corporateAccountRepository, ISettings settings,
                                                                 IEventRepository eventRepository, IHostRepository hostRepository, IHealthPlanEventZipRepository healthPlanEventZipRepository,
                                                                 IAccountEventZipReposiory accountEventZipReposiory, IEventAppointmentStatsService eventAppointmentStatsService, IZipRadiusDistanceRepository zipRadiusDistanceRepository,
                                                                 IHealthPlanFillEventCallQueueRepository healthPlanFillEventCallQueueRepository)
        {
            _corporateAccountRepository             = corporateAccountRepository;
            _eventRepository                        = eventRepository;
            _hostRepository                         = hostRepository;
            _healthPlanEventZipRepository           = healthPlanEventZipRepository;
            _accountEventZipReposiory               = accountEventZipReposiory;
            _eventAppointmentStatsService           = eventAppointmentStatsService;
            _zipRadiusDistanceRepository            = zipRadiusDistanceRepository;
            _healthPlanFillEventCallQueueRepository = healthPlanFillEventCallQueueRepository;

            _logger   = logManager.GetLogger("AccountEventZipSubstituteRegeneration");
            _settings = settings;

            _settingFilePath = settings.AccountZipRegenerationResourcePath;
        }