public bool RealizeOrder(out string error)
        {
            if (SelectedOrder == null)
            {
                error = "No Order Is Selected";
                return(false);
            }
            if (WaiterClientModel.RealizeOrder(SelectedOrder.Id))
            {
                SelectedOrder.State = OrderState.Realized;
                ArchivedOrdersViewModel.AddArchivedOrder(SelectedOrder);
                ListOfOrders.Remove(SelectedOrder);
                error = "";
                return(true);
            }

            error = "Failed";
            return(false);
        }