public VMTransaction() { Transaction = new TransactionClass(); //Transaction.ChangesSaved += Transaction_ChangesSaved; SaveChangesCommand = new SaveChangesCommand(Transaction); DeleteTransactionUserCommand = new RelayCommand(o => Transaction.Transaction.MultiuserManager.DeleteTransactionUser()); AddTransactionUserCommand = new RelayCommand(o => Transaction.Transaction.MultiuserManager.AddTransactionUser()); }
public SaveChangesCommand(TransactionClass transaction) { this.transaction = transaction; }