public ActionResult ActiveAcc(int id, bool active) { if (active) { RedirectToAction("Index", "Home"); } userService.Active(id, active); return(RedirectToAction("Index", "Home")); }