public BankAccountCommand(BankAccount account, Action action, int amount) // sve sto nam treba: kome? BankAccount, sta? Action, koliko? amount { this.account = account ?? throw new ArgumentNullException(nameof(account)); this.action = action; this.amount = amount; }
public BankAccountCommand(BankAccount account, int amount, Action action) { this.amount = amount; this.action = action; this.account = account; }