public void Build(int numOfTasks) { for (int i = 0; i < numOfTasks; i++) { _batchService.AddTask(); } }