Esempio n. 1
0
        static void AccountCommit()
        {
            string guid = InputString("GUID:", _LastAccountGuid, true);

            if (!String.IsNullOrEmpty(guid))
            {
                List <string> entries = InputStringList("Entry GUID:", true);
                Balance       b       = _Ledger.CommitEntries(guid, entries);
                if (b != null)
                {
                    Console.WriteLine(SerializeJson(b, true));
                }
                else
                {
                    Console.WriteLine("(none)");
                }
            }
        }