Esempio n. 1
0
        public Task SendMessage(SendMessageObject sendMessage)
        {
            var saveMessageQuery = new SaveMessageQuery();

            saveMessageQuery.SendMessageObject = sendMessage;
            _mediator.Send(saveMessageQuery);
            return(Clients.All.SendAsync("ReceiveMessage", sendMessage));
        }
Esempio n. 2
0
 public void SaveToMessages(SendMessageObject sendMessage)
 {
 }