public IActionResult GrabDojo(int myId) { ViewBag.myDojo = dojoFactory.GrabOne(myId); var test = dojoFactory.GrabOne(myId); ViewBag.rogues = ninjaFactory.GrabRogues(); ViewBag.myNinjas = dojoFactory.AllNinjas(myId); return(View("dojo")); }
public IActionResult GrabDojo(int myId) { ViewBag.myDojo = dojoFactory.GrabOne(myId); var test = dojoFactory.GrabOne(myId); ViewBag.rogues = ninjaFactory.GrabRogues(); ViewBag.myNinjas = dojoFactory.AllNinjas(myId); return(View("dojo")); }