Exemple #1
0
        //

        public ATMViewModel()
        {
            AllCards   = DataBaseWorker.getCardsFromDataBase(DataBaseWorker.CardPath);
            MoneyInATM = DataBaseWorker.getMoneyInATM(DataBaseWorker.AtmInfoPath);
            DataBaseWorker.blockCards(this.AllCards, DataBaseWorker.BlockedCardPath);
            this.AttemptsToSingIn = 3;
            LastLogin             = String.Empty;
        }