Exemplo n.º 1
0
 public void AddFeedback(string authorName, string message, FeedbackType type, string authorId, string email)
 {
     using (FeedbackModelContainer container = new FeedbackModelContainer())
     {
         Report report = new Report
                             {
                                 AuthorName = authorName,
                                 Text = message,
                                 Type = type,
                                 AuthorId = authorId,
                                 Email = email
                             };
         container.Reports.AddObject(report);
         container.SaveChanges();
     }
 }
 public void AttachFeedback(Report report)
 {
     throw new NotImplementedException();
 }
 public void DeleteFeedback(Report report)
 {
     throw new NotImplementedException();
 }
 public void DetachFeedback(Report report)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 public static void DetachFeedback(Report report)
 {
     _feedbackSystemService.DetachFeedback(report);
 }