public async Task <ExaminationAnswerModel[]> GetAnswersAsync(long examinationId) { var predefinedAnswerSetId = await examinationsRepository.GetAnswerSetIdAsync(examinationId); return(await answersRepository.GetAsync(predefinedAnswerSetId)); }
public async Task <AnswerResponse[]> GetAnswers(AnswerType type, long setId) => await answersRepository.GetAsync(type, setId);