Пример #1
0
        //
        // GET: /Lottery/

        public ActionResult Index(string id)
        {
            ViewBag.CPCode = id;
            ViewBag.Model  = WebSetBusiness.GetLotteryDetail(id);
            if (id == "TJSSC" || id == "XJSSC" || id == "HLJSSC")
            {
                return(RedirectToAction("HighLottery", "Lottery", new { id = id }));
            }
            else if (id == "SHSSL" || id == "FC3D")
            {
                return(RedirectToAction("SSC3D", "Lottery", new { id = id }));
            }
            else if (id == "CQSSC")
            {
                return(RedirectToAction("CQLottery", "Lottery", new { id = id }));
            }
            return(View());
        }
Пример #2
0
 public ActionResult CQLottery(string id)
 {
     ViewBag.CPCode = id;
     ViewBag.Model  = WebSetBusiness.GetLotteryDetail(id);
     return(View());
 }