public EFaxNotificationService(ILogManager logManager, IEFaxHelperService eFaxHealperService, INotificationRepository notificationRepository, ISettings settings)
 {
     _eFaxHealperService     = eFaxHealperService;
     _notificationRepository = notificationRepository;
     _emergencyFaxNumber     = settings.EmergencyFaxNumber;
     _timeIntervalToPingApi  = settings.TimeIntervalToPingApi;
     _logger = logManager.GetLogger <EFaxNotificationService>();
 }
 public AwvSendFaxPollingAgent(INotificationRepository notificationRepository,
                               ILogManager logManager, INotificationMediumRepository notificationMediumRepository, //IEFaxApi eFaxApi,
                               IEventCustomerNotificationRepository eventCustomerNotificationRepository,
                               IEventCustomerRepository eventCustomerRepository, ICustomerRepository customerRepository,
                               IEmailNotificationModelsFactory emailNotificationModelsFactory, INotifier notifier,
                               IPrimaryCarePhysicianRepository primaryCarePhysicianRepository, IEventRepository eventRepository,
                               ISettings settings, INotificationTypeRepository notificationTypeRepository, IEFaxHelperService eFaxHealperService)
 {
     _notificationRepository              = notificationRepository;
     _notificationMediumRepository        = notificationMediumRepository;
     _eventCustomerNotificationRepository = eventCustomerNotificationRepository;
     _eventCustomerRepository             = eventCustomerRepository;
     _customerRepository             = customerRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _notifier = notifier;
     _primaryCarePhysicianRepository = primaryCarePhysicianRepository;
     _eventRepository            = eventRepository;
     _settings                   = settings;
     _notificationTypeRepository = notificationTypeRepository;
     _eFaxHealperService         = eFaxHealperService;
     _logger = logManager.GetLogger <AwvSendFaxPollingAgent>();
 }