public async Task <int> CreateResult(Result result) { await Results.AddAsync(result); await SaveChangesAsync(); return(GetNextQuestionId(Answers.Find(result.AnswerId).QuestionId)); }
public async Task <int> CreateResult(Result result) { await Results.AddAsync(result); await SaveChangesAsync(); return(GetNextQuestionId(Answers.Find(result.AnswerId).QuestionId)); }