Esempio n. 1
0
        private static void PrintBalance()
        {
            Console.Clear();
            Account account = transferService.GetBalance(UserService.GetUserId());

            Console.WriteLine("---------------------------------------------------");
            string message = $"Your balance is {account.Balance:C2}";

            Console.WriteLine(message);
            Console.WriteLine("---------------------------------------------------");
            System.Threading.Thread.Sleep(3000);
            Console.Clear();
        }