Exemplo n.º 1
0
 public IActionResult CreateDojo(int id)
 {
     ViewBag.Dojos          = dojoFactory.FindDOJOByID(id);
     ViewBag.ResidentNinjas = ninjaFactory.FindNINJAByDOJO(id);
     ViewBag.RogueNinjas    = ninjaFactory.FindRogueNINJAS();
     return(View("Dojo"));
 }