public IActionResult RecruitBanish(int currentdojoid, string process, int ninjaid) { if (process == "recruit") { ninjaFactory.RecruitBanish(process, ninjaid, currentdojoid); return(RedirectToAction("DojoSingle", new { id = currentdojoid })); } else if (process == "banish") { ninjaFactory.RecruitBanish(process, ninjaid, 3); return(RedirectToAction("DojoSingle", new { id = currentdojoid })); } return(View()); }