Exemplo n.º 1
0
 public IActionResult sendMessage([FromBody] ChatMessage chatMessage)
 {
     Console.WriteLine("tier3 controller send msg" + chatMessage.message);
     Console.WriteLine(chatMessage.date);
     return(Ok(chatMessageService.sendMessage(chatMessage)));
 }