public IResult Exist(Expression <Func <Question, bool> > filter) { if (_questionDal.Exist(filter)) { return(new SuccessResult("This Question exist")); } return(new ErrorResult("This Question is not registered")); }