/// <summary> /// Executes the accept command /// </summary> private void AcceptExecute() { try { service.AcceptOrder(ItemOrder); OrderList = service.GetAllOrders().ToList(); PendingOrderList = service.GetAllPendingOrders().ToList(); NonPendingOrderList = service.GetAllNonPendingOrders().ToList(); } catch (Exception ex) { Debug.WriteLine("Exception" + ex.Message.ToString()); } }