public IActionResult Create(NPC npc) { db.NPCs.Add(npc); db.SaveChanges(); return(RedirectToAction("Index")); }
public IActionResult Create(Character character) { db.Characters.Add(character); db.SaveChanges(); return(RedirectToAction("Index")); }
public IActionResult Create(Location location) { db.Locations.Add(location); db.SaveChanges(); return(RedirectToAction("Index")); }