public int GetCount(Func<EntityType, bool> predicate = null) { return predicate == null ? _repository.GetCount(p => true) : _repository.GetCount(predicate); }