Future<Result<void>> poolSetSize(int poolId, int newMaxSize) => _repository.poolSetSize(poolId, newMaxSize);