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

            return(Questions(eQuestions));
        }
Esempio n. 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));
        }