Soft delete commands

What is the difference between @UndeleteDocument (new in R5) and @Command( [EditRestoreDocument] ) (new in R6).

What are the advantages of using one over the other?

Thanks!

Subject: Soft delete commands

Both accomplish the same task. They restore documents that have been deleted (and with Dbs that have soft delete enabled). Two roads to the same building.