public Task <List <Question> > GetAllAsync(Expression <Func <Question, bool> > filter = null) { return(_questionDal.GetAllAsync(filter)); }
async public Task <IDataResult <List <Question> > > GetAllQuestions() { var data = await _questionDal.GetAllAsync(); return(new SuccessDataResult <List <Question> >(data)); }