Ejemplo n.º 1
0
        public string Execute(IList <string> input)
        {
            if (input.Count != 0)
            {
                throw new Exception("Invalid logout command arguments!");
            }
            StreamManager.SaveWallet(UserSession.User.Wallet, UserSession.User.Name);
            UserSession.Logout();
            PrinterManager.InitialInstructions();

            return("You logged out succesfully!");
        }