public NotificationReceiverController(NotificationReceiverRepository notificationReceiverRepository,
                                              NotificationLogRepository notificationLogRepository,
                                              ISessionContext sessionContext, BranchContext branchContext)
        {
            _notificationReceiverRepository = notificationReceiverRepository;
            _notificationLogRepository      = notificationLogRepository;

            _sessionContext = sessionContext;
            _branchContext  = branchContext;
        }
Esempio n. 2
0
 public MessageSenderJob(NotificationRepository notificationRepository,
                         NotificationReceiverRepository notificationReceiverRepository,
                         NotificationLogRepository notificationLogRepository,
                         EmailSender emailSender, SmsSender smsSender)
 {
     _notificationRepository         = notificationRepository;
     _notificationReceiverRepository = notificationReceiverRepository;
     _notificationLogRepository      = notificationLogRepository;
     _emailSender = emailSender;
     _smsSender   = smsSender;
 }
Esempio n. 3
0
        public NotificationController(NotificationRepository notificationRepository,
                                      NotificationReceiverRepository notificationReceiverRepository,
                                      NotificationLogRepository notificationLogRepository,
                                      ISessionContext sessionContext, BranchContext branchContext,
                                      EmailSender emailSender, SmsSender smsSender)
        {
            _notificationRepository         = notificationRepository;
            _notificationReceiverRepository = notificationReceiverRepository;
            _notificationLogRepository      = notificationLogRepository;

            _sessionContext = sessionContext;
            _branchContext  = branchContext;
            _emailSender    = emailSender;
            _smsSender      = smsSender;
        }
 public NotificationLogController(NotificationLogRepository repository)
 {
     _repository = repository;
 }