public IActionResult DojoShow(int id) { ViewBag.dojo_id = id; ViewBag.dojoWithNinjas = dojoFactory.FindByIdWithNinjas(id); ViewBag.rogueNinjas = dojoFactory.GetRogueNinjas(); return(View("DojosShow")); }
public IActionResult DojoShow(int id) { ViewBag.dojo_id = id; ViewBag.dojoWithNinjas = dojoFactory.FindByIdWithNinjas(id); ViewBag.rogueNinjas = dojoFactory.GetRogueNinjas(); return(View("DojosShow")); }