public static void DeleteTemplate(string name) { if (string.IsNullOrEmpty(name)) { return; } var directoryPath = GetTemplatesDirectoryPath(); var templatePath = ApplicationUtils.PathCombine(directoryPath, name); ApplicationUtils.DeleteDirectoryIfExists(templatePath); }