public void Update(Comment comment) { this.comments.Update(comment); this.comments.SaveChanges(); }
public void Add(Comment comment) { this.comments.Add(comment); this.comments.SaveChanges(); }
public void Update(Comment comment) { this.comments.Update(comment); this.comments.SaveChanges(); }
public void Add(Comment comment) { this.comments.Add(comment); this.comments.SaveChanges(); }