public IActionResult Banish(int dojo_id, int ninja_id)
 {
     dojoFactory.BanishNinja(ninja_id);
     return(RedirectToAction("DojoShow", new { id = dojo_id }));
 }
示例#2
0
 public IActionResult DojoBanishment(int dojoID, int ninjaID)
 {
     _dojoFactory.BanishNinja(ninjaID);
     return(RedirectToAction("Dojo", new{ id = dojoID }));
 }
示例#3
0
 public IActionResult BanishNinja(int Dojo_Id, int ninja_id)
 {
     dojoFactory.BanishNinja(ninja_id);
     return(RedirectToAction("showDojo", new { dojo_id = Dojo_Id }));
 }