Esempio n. 1
0
        public async Task SendMessage(MessageDTO message)
        {
            var conv = await conversationManager.GetConversation(message.ConversationId);

            var ids = await userFinder.FindIdsByNames(conv.UserNames);

            await hubContext.Clients.Users(ids).MessageReceived(message);
        }