Example #1
0
        public ActionResult Index(int page = 1)
        {
            PartyInfoList partyList = new PartyInfoList();

            {
                partyList = new PartyActivities().GetAllPartyInfo(pageSize, page);
            };
            return(View(partyList));
        }
Example #2
0
        public ActionResult SetPartyInfo(string partyName)
        {
            partyName = Request["partyName"];
            if (partyName == null)
            {
                Response.Redirect("PartyIndex");
                return null;
            }
            @ViewBag.partyName = partyName;
            ClassLibrary.PartyActivities setpartyinfo = new PartyActivities();
            return View(setpartyinfo.GetPartyInfo(partyName));

        }
Example #3
0
 public ActionResult PostInformation(string postName)
 {
     //to do 返回海报活动详情
     postName = Request["postName"];
     if (postName == null)
     {
         Response.Redirect("PartyIndex");
         return null;
     }
     PostInfo postInfo = new PostInfo();
     postInfo = new PartyActivities().GetPostInfo(postName);
     return View(postInfo);
 }