public void Comment(Guid reportId, string authorName, string message, string email, string authorId) { using (FeedbackModelContainer container = new FeedbackModelContainer()) { Comment comment = new Comment { ReportId = reportId, AuthorName = authorName, Text = message, Email = email, AuthorId = authorId }; container.Comments.AddObject(comment); container.SaveChanges(); } }
public void DeleteComment(Comment comment) { throw new NotImplementedException(); }
public void AttachComment(Comment comment) { throw new NotImplementedException(); }
public static void DetachComment(Comment comment) { _feedbackSystemService.AttachComment(comment); }