public async Task Insert(Question question) { _context.Questions.Add(question); await _context.SaveChangesAsync(); }
public async Task Insert(Answer answer) { _context.Answers.Add(answer); await _context.SaveChangesAsync(); }
public async Task Insert(Question question) { _context.Questions.Add(question); await _context.SaveChangesAsync(); }
public async Task Insert(Answer answer) { _context.Answers.Add(answer); await _context.SaveChangesAsync(); }