public ActionResult TransferPigstyInfo(int pageIndex = 1)
        {
            if (Session["CheckFeed"] == null || !(bool) Session["CheckTransferPigstyInfo"])
            {
                Response.Write("<script>history.go(0);</script>");
                return View("Error");
            }

            var transferPigstyInfo = new TransferPigstyInfo();

            const int pageSize = 25;

            PagedList<Info> infoPagerList;
            if (Request.Form["CheckEmployee"] != null)
            {
                // Session["TransferPigstyChoose"] = Request.Form["SearchChose"];
                Session["check"] = Request.Form["CheckEmployee"];
                Session["chooseid"] = Request.Form["SearchChose"];
                infoPagerList =
                    transferPigstyInfo.GetInfoPagedList(
                        transferPigstyInfo.GetInfoList(transferPigstyInfo.GetTransferPigstyInfoList(),
                                                       Request.Form["CheckEmployee"], Request.Form["SearchChose"]),
                        pageIndex, pageSize);
                //  Session["SearchTransferPigsty"] = Request.Form["CheckEmployee"];
            }
            else if (Session["check"] != null && Session["chooseid"] != null && Request.HttpMethod == "POST")
            {
                infoPagerList =
                    transferPigstyInfo.GetInfoPagedList(
                        transferPigstyInfo.GetInfoList(transferPigstyInfo.GetTransferPigstyInfoList(),
                                                       Session["check"] as string, Session["chooseid"] as string),
                        pageIndex, pageSize);
            }
            else
            {
                // Session["TransferPigstyChoose"] = new ListService().GetInfoSearchList().FirstOrDefault().Value;
                Session["check"] = "";
                Session["chooseid"] = "";
                infoPagerList = transferPigstyInfo.GetInfoPagedList(transferPigstyInfo.GetTransferPigstyInfoList(),
                                                                    pageIndex, pageSize);
            }
            if (Request.IsAjaxRequest())
            {
                return PartialView("UCJqInfoList", infoPagerList);
            }
            ViewData["Search"] = new ListService().GetInfoSearchList();
            return View(infoPagerList);
        }