public List <QuestionResponseTO> GetResponsesBySection(SectionDTO section) { SectionDataProvider provider = SectionDataFactory.CreateProvider(section.Type); List <QuestionResponseTO> list = provider.GetQuestionsResponsesByID(section.SectionId); return(list); }
public List <QuestionTO> GetQuestionsBySection(SectionTO section) { SectionDataProvider provider = SectionDataFactory.CreateProvider(section.Type); List <QuestionTO> list = provider.GetQuestionsByID(section.ID); return(list); }