//Adds an item instance to the lootbook. public void AddItemToModel(LootItem i) { book.AddLootItem(i); }
//Removes an item instance from the lootbook. public void RemoveItemFromModel(LootItem i) { book.RemoveLootItem(i); }
//Method to add a loot item to the lootlist. public void AddLootItem(LootItem l) { _lootlist.Add(l); NotifyPropertyChanged("lootlist"); }