public static void CreateHomeController(string projectDirectory, string authServerProjectName, IFileSystem fileSystem) { var classPath = ClassPathHelper.AuthServerControllersClassPath(projectDirectory, "HomeController.cs", authServerProjectName); var fileText = GetControllerText(classPath.ClassNamespace, projectDirectory, authServerProjectName); Utilities.CreateFile(classPath, fileText, fileSystem); }