public OrdersEditorPresentationModel(OrdersEditorView view, IOrdersRepository ordersRepository, OrdersCommandProxy commandProxy) { this.ordersRepository = ordersRepository; this.commandProxy = commandProxy; this.Orders = new ObservableCollection <OrderPresentationModel>(); this.PopulateOrders(); this.View = view; view.Model = this; }
public OrdersEditorPresentationModel(OrdersEditorView view, OrdersCommandProxy commandProxy) { this.commandProxy = commandProxy; Orders = new ObservableCollection <OrderPresentationModel>(); PopulateOrders(); View = view; view.Model = this; }