public void deduct()
        {
            UserModel userModel = UserModel.GetInstance();

            Console.WriteLine("enter amount");
            int x = Convert.ToInt32(Console.ReadLine());

            if (CheckBalance.availability(x))
            {
                userModel.amount -= x;
            }
        }
 public ATM()
 {
     checkBalance = new CheckBalance();
     addCash      = new AddCash();
     deductCash   = new DeductCash();
 }