public Answer AddAnswer(Answer Answer) { _db.Answers.Add(Answer); _db.SaveChanges(); return(Answer); }
public Question AddQuestion(Question Question) { _db.Questions.Add(Question); _db.SaveChanges(); return(Question); }
public Models.Quiz AddQuiz(Models.Quiz Quiz) { _db.Quizzes.Add(Quiz); _db.SaveChanges(); return(Quiz); }