public Campaign_ShakingLotteryBundle GetBundle(Guid campaignId) { Campaign_ShakingLotteryBundle bundle = new Campaign_ShakingLotteryBundle(); bundle.Campaign = _campaignManager.GetCampaign(campaignId); bundle.ShakingLottery = Get(campaignId); return(bundle); }
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)); }