public ActionResult Search(int page) { int[] roleList = Session["RoleList"] as int[]; if (roleList == null || roleList.Except(new int[1] { 1 }).Count() != 0) { return(Redirect(SiteConfig.SiteUrl + "/Home/Index")); } ShowUser(); ViewBag.Count = orgService.GetOrgCount(); ViewData["OrgList"] = orgService.ShowAllOrg(10, page); return(View()); }