public override async Task UndoAsync()
        {
            if (SharePointItemTracking.Id > 0)
            {
                await SharePointClient.DeleteFileAsync <TSharePointFile>(SharePointItemTracking.Id);

                await SharePointClient.RemoveFoldersAsync <TSharePointFile>(_createdFolders);
            }
            SharePointItemTracking.Id = 0;
        }
Exemple #2
0
 public override async Task ExecuteAsync()
 {
     await SharePointClient.DeleteFileAsync <TSharePointFile>(SharePointItemTracking.Id);
 }