public ActionResult Groups(int id = 1) { Pager <Group> pager = new Pager <Group>(); string keyword = Request.QueryString["content"]; IOrderedQueryable <Group> groups = GroupView.GetGroupByKeywork(keyword); ViewBag.page = id; ViewBag.groups = pager.GetPage(groups, id); ViewBag.pageNumber = pager.GetPageNumber(groups); ViewBag.keyword = keyword; return(View()); }