public List <Category> GetAll(System.Linq.Expressions.Expression <Func <Category, bool> > filter = null) { return(_categoryDal.GetAll(filter)); }
public List <Category> GetAll(Expression <Func <Category, bool> > filter = null) { var categories = _categoryDal.GetAll(filter); return(categories); }
public List <Category> GetAll() { return(_categoryDal.GetAll()); }