Пример #1
0
 public void UpdatePageComment(PageComment PageComment)
 {
     db.Entry(PageComment).State = EntityState.Modified;
 }
Пример #2
0
 public void DeletePageComment(PageComment PageComment)
 {
     db.Entry(PageComment).State = EntityState.Deleted;
 }
Пример #3
0
 public void InsertPageComment(PageComment PageComment)
 {
     db.PageComments.Add(PageComment);
 }