public IActionResult Edit(Character character) { db.Entry(character).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); }
public IActionResult Edit(NPC npc) { db.Entry(npc).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); }