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