public void UpdateMessage(Message message)
 {
     context.Entry(message).State = EntityState.Modified;
 }
 public void InsertMessage(Message message)
 {
     context.Messages.Add(message);
 }