Example #1
0
        public void UpdateAnswer(Answer item)
        {
            Answer an = db.Answers.GetItem(item.Id_answer);

            db.Answers.Update(item);
        }
Example #2
0
 public void CreateAnswer(Answer item)
 {
     db.Answers.Create(item);
     db.Save();
     // GetAllAnswer();
 }