示例#1
0
        public List <Question> Read(int examId)
        {
            List <EQuestion> eQuestions = _iDQuestion.List <EQuestion>(a => a.ExamId == examId);

            return(Questions(eQuestions));
        }
示例#2
0
        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));
        }