Example #1
0
 public IActionResult Ninjas()
 {
     ViewBag.ninjas      = ninjaFactory.FindAllWithDojo();
     ViewBag.rogueNinjas = ninjaFactory.FindAllWithDojoNull();
     ViewBag.allDojos    = ninjaFactory.FindAllDojos();
     return(View("ninjas"));
 }