private static void TestGitHubOperatorCreateRepository() { var serviceProvider = Program.GetServiceProvider(); var gitHubOperator = serviceProvider.GetRequiredService <IGitHubOperator>(); // Create a repository. var repository = GitHubRepository.GetDefault(Constants.TestingRepositoryName, Constants.TestingRepositoryDescription); var id = gitHubOperator.CreateRepository(repository).Result; Console.WriteLine($"Created repository '{repository.Name}' with ID: {id}"); }