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