public AccountViewModel(Account account, IAccountancyApplication accountancyApplication, PersonViewModel owner) { m_accountancyApplication = accountancyApplication; m_underlyingData = account; Name = account.name; Currency = account.currency; AccountType = account.type; Owner = owner; UpdateAccountState(); }
public AccountViewModel(Account account, IAccountancyApplication accountancyApplication) : this(account, accountancyApplication, accountancyApplication.GetPerson(account.ownerPersonId)) { }