public IActionResult RecruitNinja(int dojo_id, int ninja_id)
 {
     _dojoFactory.Recruit(dojo_id, ninja_id);
     return(RedirectToAction("DisplayDojo", dojo_id));
 }
 public IActionResult Recruit(int ninjaId, int dojoId)
 {
     dojoFactory.Recruit(ninjaId, dojoId);
     return(RedirectToAction("GrabDojo", new { myId = dojoId }));
 }
Example #3
0
 public IActionResult Recruit(int dojoId, int ninjaId)
 {
     _dojofactory.Recruit(dojoId, ninjaId);
     return(RedirectToAction("Dojo", new { id = dojoId }));
 }