Example #1
0
        private async Task <bool> UpdateBox()
        {
            IsBusy = true;
            System.Diagnostics.Debug.WriteLine("8=============D    Preparing to send box update to PAMS");
            if (SelectedRoom != null)
            {
                _editingBox.DestinationRoomID = SelectedRoom.id;
            }
            _editingBox.name     = _boxName;
            _editingBox.Priority = _boxPriority;
            bool success = await BoxDAO.UpdateBox(_moveId, _editingBox);

            IsBusy = false;
            App.PopNavAsync();
            return(success);
        }