Beispiel #1
0
 public void UpdateAbility(Library.Abilities ability)
 {
     _db.Entry(_db.Abilities.Find(ability.AbilityID)).CurrentValues.SetValues(Mapper.Map(ability));
 }
 public void UpdateInventory(Library.Inventory inventory)
 {
     _db.Entry(_db.Inventory.Find(inventory.ItemID, inventory.CharacterID)).CurrentValues.SetValues(Mapper.Map(inventory));
 }