Exemple #1
0
 public IActionResult SendMessage([FromForm] Message message)
 {
     _messageManager.AddNewMessage(message);
     return(LocalRedirect("/"));
 }