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