Beispiel #1
0
 public Answer UpdateAnswer(Answer Answer)
 {
     _db.Entry(Answer).State = EntityState.Modified;
     _db.SaveChanges();
     return(Answer);
 }
Beispiel #2
0
 public Question UpdateQuestion(Question Question)
 {
     _db.Entry(Question).State = EntityState.Modified;
     _db.SaveChanges();
     return(Question);
 }
 public Models.Quiz UpdateQuiz(Models.Quiz Quiz)
 {
     _db.Entry(Quiz).State = EntityState.Modified;
     _db.SaveChanges();
     return(Quiz);
 }