private void AddDebtButtonPressedCommandHandler() { DebtorToModify.Debts.Add(CurrentDebt); CurrentDebt = new Debt(); }
public AddDebtWindowViewModel(ref Debtor debtorToModify, ref AddDebtWindow window) { CurrentDebt = new Debt(); DebtorToModify = debtorToModify; _window = window; }