Beispiel #1
0
        private void AddInventory(object sender, RoutedEventArgs e)
        {
            Inventory newInventory = GenerateInventoryObjectFromCollectedData();

            _roomController.AddInventory(_selectedRoom, newInventory);
            _parent.UpdateTable();
            this.Close();
        }