Beispiel #1
0
 public void ModifyReply(Reply reply)
 {
     dbReplies.Entry(reply).State = EntityState.Modified;
     dbReplies.SaveChanges();
 }
Beispiel #2
0
 public void RemoveRepliy(Reply reply)
 {
     dbReplies.Replies.Remove(reply);
     dbReplies.SaveChanges();
 }
Beispiel #3
0
 public void AddReply(Reply reply)
 {
     dbReplies.Replies.Add(reply);
     dbReplies.SaveChanges();
 }