Beispiel #1
0
        //i wypłata
        public void TakeMoney(string accountNo, decimal value)
        {
            Account account = GetAccount(accountNo);

            account.ChangeBalance(-value);
        }
Beispiel #2
0
        public void TakeMoney(string accountNo, decimal value)//pobieranie pieniędzy z konta//
        {
            Account account = GetAccount(accountNo);

            account.ChangeBalance(-value);
        }
Beispiel #3
0
        public void AddMoney(string accNo, decimal value)
        {
            Account account = GetAccount(accNo);

            account.ChangeBalance(value);
        }
Beispiel #4
0
        public void AddMoney(string accountNo, decimal value)//dodanie pieniędzy do konta//
        {
            Account account = GetAccount(accountNo);

            account.ChangeBalance(value);
        }
        public void AddMoney(string accountNo, decimal value) //metoda dla wplaty
        {
            Account account = GetAccount(accountNo);

            account.ChangeBalance(value);
        }