public List <CategoryDto> Get(Func <CategoryDto, bool> query) { return(_reader.Query(query)); }
public List <QuestionDto> Get(Func <QuestionDto, bool> query) { return(_reader.Query(query)); }
public List <AnswerTypeDto> GetAnswerTypes() { return(_answerTypeReader.Query(aType => aType.MetadataType == "AnswerType")); }
public List <DifficultyLevelDto> GetDefficultyLevel() { return(_difficultLevelReader.Query(aType => aType.MetadataType == "DifficultyLevel")); }
public List <QuestionTypeDto> GetQuestionTypes() { return(_questionTypeReader.Query(aType => aType.MetadataType == "QuestionType")); }