public List <Question> Read(int examId) { List <EQuestion> eQuestions = _iDQuestion.List <EQuestion>(a => a.ExamId == examId); return(Questions(eQuestions)); }
public List <Question> List() { List <EQuestion> eQuestions = _iDQuestion.List <EQuestion>(a => true); return(Questions(eQuestions)); }
public List <Question> Read(int surveyId) { List <EQuestion> eQuestions = _iDQuestion.List <EQuestion>(a => a.SurveyId == surveyId); return(Questions(eQuestions)); }