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