public IActionResult GrabNinja(int myId) { ViewBag.myNinja = ninjaFactory.GrabOne(myId); try { ViewBag.currentDojo = ninjaFactory.CurrentDojo(myId); ViewBag.rogue = false; } catch { ViewBag.rogue = true; } return(View("ninja")); }