public InternalNotificationService(EdoContext context,
                                    IHubContext <AgentNotificationHub, INotificationClient> agentNotificationHub,
                                    IHubContext <AdminNotificationHub, INotificationClient> adminNotificationHub,
                                    MailSenderWithCompanyInfo mailSender,
                                    IDateTimeProvider dateTimeProvider)
 {
     _context = context;
     _agentNotificationHub = agentNotificationHub;
     _adminNotificationHub = adminNotificationHub;
     _mailSender           = mailSender;
     _dateTimeProvider     = dateTimeProvider;
 }
Example #2
0
 public UserInvitationService(EdoContext context,
                              IDateTimeProvider dateTimeProvider,
                              MailSenderWithCompanyInfo mailSender,
                              ILogger <UserInvitationService> logger,
                              IOptions <UserInvitationOptions> options)
 {
     _context          = context;
     _dateTimeProvider = dateTimeProvider;
     _mailSender       = mailSender;
     _logger           = logger;
     _options          = options.Value;
 }
 public AgentRegistrationService(EdoContext context,
                                 ICounterpartyService counterpartyService,
                                 IAgentService agentService,
                                 IAgentInvitationService agentInvitationService,
                                 IOptions <AgentRegistrationNotificationOptions> notificationOptions,
                                 MailSenderWithCompanyInfo mailSender,
                                 ILogger <AgentRegistrationService> logger)
 {
     _context                = context;
     _counterpartyService    = counterpartyService;
     _agentService           = agentService;
     _agentInvitationService = agentInvitationService;
     _notificationOptions    = notificationOptions.Value;
     _mailSender             = mailSender;
     _logger = logger;
 }
 public BookingMailingService(MailSenderWithCompanyInfo mailSender,
                              IBookingDocumentsService bookingDocumentsService,
                              IBookingRecordsManager bookingRecordsManager,
                              IOptions <BookingMailingOptions> options,
                              IDateTimeProvider dateTimeProvider,
                              IAgentSettingsManager agentSettingsManager,
                              IAccountPaymentService accountPaymentService,
                              EdoContext context)
 {
     _bookingDocumentsService = bookingDocumentsService;
     _bookingRecordsManager   = bookingRecordsManager;
     _mailSender            = mailSender;
     _options               = options.Value;
     _dateTimeProvider      = dateTimeProvider;
     _agentSettingsManager  = agentSettingsManager;
     _accountPaymentService = accountPaymentService;
     _context               = context;
 }
Example #5
0
 public PaymentLinkNotificationService(IOptions <PaymentLinkOptions> options, MailSenderWithCompanyInfo mailSender)
 {
     _options    = options.Value;
     _mailSender = mailSender;
 }
 public PaymentNotificationService(MailSenderWithCompanyInfo mailSender, IOptions <PaymentNotificationOptions> options)
 {
     _mailSender = mailSender;
     _options    = options.Value;
 }