public OrdersDetailsViewModel(IConNodeManager manager, ConnectionNodeDTO order) { _manager = manager; Order = order ?? new ConnectionNodeDTO(); Customers = _manager.GetListOfCustomers(); Items = _manager.GetListOfItems(); Statuses = _manager.GetListOfStatuses(); }
public OrdersListViewModel(IConNodeManager manader) { _manager = manader; Update(); }