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