public void Handle(ProductRemovedEvent handle) { IHubContext ctx = GlobalHost.ConnectionManager.GetHubContext <SignalRHub>(); ctx.Clients.All.broadcastMessage(String.Format("Product {0} has been removed succesfully", handle.Product.Name)); }
public void Handle(ProductRemovedEvent handle) { LogFactory.Logger.Info("Product {0} removed", handle.Product.Name); }