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