예제 #1
0
 public AssessmentQuestion GetNext()
 {
     return(AssessmentQuestions.Where(x => !x.Answered).OrderBy(x => x.Order).FirstOrDefault());
 }
예제 #2
0
 public List <AssessmentQuestion> GetActiveQuestions()
 {
     return(AssessmentQuestions.Where(x => !x.IsArchived()).ToList());
 }