public IActionResult OnPost(int MessageId)
 {
     Message       = messageData.GetById(MessageId);
     Message.count = messageData.Like(Message);
     messageData.Commit();
     return(RedirectToPage("./MessageBox"));
 }
 public IActionResult OnGet(int MessageId)
 {
     Messages          = messageData.GetById(MessageId);
     Messages.comments = "";
     return(Page());
 }