Esempio n. 1
0
 public CustomerVM()
 {
     _customerCatalog = CustomerCatalog.Instance;
     _customers       = _customerCatalog.Customers;
     _deleteCommand   = new DeleteCommand(this, _customerCatalog);
     //_displayCustomers = _customerCatalog.Customers;
     _customerEditCommand = new CustomerEditCommand(this, _customerCatalog);
 }
Esempio n. 2
0
        public OrderAddComand(Order order)
        {
            _order            = order;
            _orders           = OrderCatalog.Instance;
            _unapprovedOrders = _orders.UnapprovedOrders;

            _customerCatalog = CustomerCatalog.Instance;
            _customers       = _customerCatalog.Customers;
        }