Пример #1
0
        public Task SendMessage(SendMessageObject sendMessage)
        {
            var saveMessageQuery = new SaveMessageQuery();

            saveMessageQuery.SendMessageObject = sendMessage;
            _mediator.Send(saveMessageQuery);
            return(Clients.All.SendAsync("ReceiveMessage", sendMessage));
        }
Пример #2
0
 public void SaveToMessages(SendMessageObject sendMessage)
 {
 }