public async Task SendMessage(string sender, string message) { await Clients.All.SendAsync("chat", sender, message); _chatEventHandler.Publish(new ChatMessageReceivedEvent { Message = message }); }