Пример #1
0
        public void UpdateAnswer(Answer item)
        {
            Answer an = db.Answers.GetItem(item.Id_answer);

            db.Answers.Update(item);
        }
Пример #2
0
 public void CreateAnswer(Answer item)
 {
     db.Answers.Create(item);
     db.Save();
     // GetAllAnswer();
 }