コード例 #1
0
        public ActionResult GroupBuyTicket()
        {
            int pageIndex = 0;

            if (int.TryParse(Request.Params["page"], out pageIndex))
            {
                pageIndex--;
            }

            PageInfo pageInfo = new PageInfo()
            {
                PageIndex = pageIndex,
                PageSize  = 10
            };

            QueryResult <GroupBuyingTicketInfo> result = GroupBuyingFacade.QueryGroupBuyingTicketInfo(pageInfo, this.CurrUser.UserSysNo);

            result.PageInfo.PageIndex++;

            return(View(result));
        }