Exemplo n.º 1
0
 public ActionResult Manufacturer()
 {
     ViewBag.RecCompany = CompanyBll.ForumRecCompany();
     ViewBag.SeoCpy     = SeoBll.GetSeoData(3, "1");
     ViewData["advert"] = AdvertisementBll.GetAllTypeAdvert("3", 2);
     return(View());
 }
Exemplo n.º 2
0
 public ActionResult GameIndex()
 {
     //轮播推荐区:总后台游戏推荐管理,热门推荐。最多显示8个
     ViewBag.RecHotGame = GameBll.LoadEntities(g => g.State == "1" && g.Rec_Hot == "1").OrderByDescending(g => g.Rec_Hot_Time).Select(g => new GameViewModel2()
     {
         Id     = g.Id,
         BigImg = g.BigImg
     }).Take(8).ToList();
     //seo推荐游戏
     ViewBag.RecSeoGame = SeoBll.GetSeoData(3, "2");
     return(View());
 }