Пример #1
0
        private void RebindBookingEquipments()
        {
            Booking selectedBooking = gvwBooking.SelectedItem as Booking;

            if (selectedBooking != null && selectedBooking.RoomId > 0)
            {
                Globals.IsBusy = true;
                DataServiceHelper.ListRoomEquipmentAsync(null, selectedBooking.RoomId, ListRoomEquipmentCompleted);
            }
        }
Пример #2
0
        private void RebindRoomEquipments()
        {
            Room selectedRoom = gvwRoom.SelectedItem as Room;

            if (selectedRoom != null && selectedRoom.RoomId > 0)
            {
                Globals.IsBusy = true;
                DataServiceHelper.ListRoomEquipmentAsync(null, selectedRoom.RoomId, ListRoomEquipmentCompleted);
            }
        }