public int CountAll(Expression <Func <Category, bool> > filter = null) { return(_categoryDal.CountAll(filter)); }