Example #1
0
 public void UpdateAbility(Ability ability)
 {
     _context.Entry(ability).State = EntityState.Modified;
     _context.SaveChanges();
 }
Example #2
0
 public void UpdatePlayer(Player player)
 {
     _context.Entry(player).State = EntityState.Modified;
     _context.SaveChanges();
 }