public Task Handle(ProductAddedEvent message) { if (message == null) { throw new ArgumentNullException(nameof(message)); } var notifier = _connectionManager.GetHubContext <Notifier>(); notifier.Clients.All.productAdded(_responseBuilder.GetProductAddedEvent(message)); return(Task.FromResult(0)); }