public static async Task <string> Execute(DocumentData Current) { using (var transaction = new DBTransaction(GuiEnvironment.User)) { var fileName = await Current.GetDataPath(transaction); if (!string.IsNullOrEmpty(fileName)) { Execute(fileName); } return(fileName); } }