示例#1
0
 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);
        }
示例#3
0
 public List <Category> GetAll()
 {
     return(_categoryDal.GetAll());
 }