Example #1
0
 private void OnSendMessage()
 {
     db.Add(new Models.ChatMessage()
     {
         Message = message, User = user, Timestamp = DateTime.Now
     });
     Message = null;
 }