public Hero Edit(Hero hero) { db.Entry(hero).State = EntityState.Modified; db.SaveChanges(); return(hero); }
public Boss Edit(Boss boss) { db.Entry(boss).State = EntityState.Modified; db.SaveChanges(); return(boss); }