Ejemplo n.º 1
0
        public Campaign_ShakingLotteryBundle GetBundle(Guid campaignId)
        {
            Campaign_ShakingLotteryBundle bundle = new Campaign_ShakingLotteryBundle();

            bundle.Campaign       = _campaignManager.GetCampaign(campaignId);
            bundle.ShakingLottery = Get(campaignId);

            return(bundle);
        }
Ejemplo n.º 2
0
        public ActionResult ShakingLotteryGiftWinningList()
        {
            string id = Request.QueryString["id"];

            if (String.IsNullOrEmpty(id))
            {
                return(RespondResult(false, "参数无效。"));
            }

            Campaign_ShakingLotteryBundle bundle = _campaignManager.ShakingLottery.GetBundle(Guid.Parse(id));

            return(View(bundle));
        }