Пример #1
0
 public void UpdateQuestion(Question question)
 {
     _database.Entry(question).State = System.Data.Entity.EntityState.Modified;
     _database.SaveChanges();
 }
Пример #2
0
 public void UpdateContent(Content content)
 {
     _Database.Entry(content).State = System.Data.Entity.EntityState.Modified;
     _Database.SaveChanges();
 }
Пример #3
0
 public void UpdateQuiz(Quiz quiz)
 {
     _Database.Entry(quiz).State = System.Data.Entity.EntityState.Modified;
     _Database.SaveChanges();
 }