public CreateNotificationsCommandHandler(UsersRepository usersRepository, NotificationsFabric notificationsFabric, OutboxNotificationsRepository outboxNotificationsRepository) { _usersRepository = usersRepository; _notificationsFabric = notificationsFabric; _outboxNotificationsRepository = outboxNotificationsRepository; }
public FlushNotificationsCommandHandler(OutboxNotificationsRepository notificationsRepository, IEventBus <string, Notification> eventBus) { _notificationsRepository = notificationsRepository; _eventBus = eventBus; }