public static async Task DeleteDirectoryIfExists(this IStorageServiceHandler storageService, string path) { if (await storageService.DirectoryExistsAsync(path)) { await storageService.DeleteDirectoryAsync(path); } }