// still needed for new empty orders public OrderViewModel(BaseViewModel viewmodel) : base(viewmodel) { if (o == null) { o = new Order(); } ChangeItems = Enumerable.Empty <ChangeHistoryItem>(); Addresses = new ContactAddressesViewModel(); }
public ContactViewModel(BaseViewModel viewmodel) : base(viewmodel) { comments = new List <OrderComment>(); addresses = new ContactAddressesViewModel(); }