public static AccountBalance SetBalance(this MutableAccount account, Currency currency, Amount amount) { var balance = new AccountBalance(currency, amount); account.SetBalance(balance); return(balance); }
public void SetBalance(MutableAccount account, Currency currency, Amount amount) { account.SetBalance(currency, amount); }