public SendNotificationHandler(
     IEmailReadRepository emailRepository,
     INotificationRepository notificationRepository,
     ISmtpClient smtpClient, IDateTimeProvider dateTimeProvider, IEventBus eventBus)
 {
     _emailRepository        = emailRepository;
     _notificationRepository = notificationRepository;
     _smtpClient             = smtpClient;
     _dateTimeProvider       = dateTimeProvider;
     _eventBus = eventBus;
 }
Beispiel #2
0
 public GetNotificationEmailQueryHandler(IEmailReadRepository repository)
 {
     _repository = repository;
 }