static void EntryCancel() { string acctGuid = InputString("Account GUID:", _LastAccountGuid, true); if (!String.IsNullOrEmpty(acctGuid)) { string entryGuid = InputString("Entry GUID:", null, true); if (!String.IsNullOrEmpty(entryGuid)) { _Ledger.CancelPending(acctGuid, entryGuid); } } }