Esempio n. 1
0
 public ActionResult Main(int typeMain, int typeDe)
 {
     ViewData["typeMain"] = typeMain;
     ViewData["typeDe"] = typeDe;
     bizBBSMain b = new bizBBSMain();
     List<BBSMain> list = b.ListPush(typeMain, typeDe, 30);
     ViewData["PushList"] = list;
     ViewData["TypeList"] = (new bizBBSTypes()).ListByMainID(typeMain);
     return View();
 }
Esempio n. 2
0
 //
 // GET: /BBS/
 public ActionResult Default()
 {
     ViewData["typeMain"] = 1;
     ViewData["typeDe"] = 0;
     bizBBSMain b = new bizBBSMain();
     ViewData["PushList"] = b.ListPush(1, 0, 18);
     ViewData["UserDomain"] = ConfigurationManager.AppSettings["UserDomain"];
     bizSysInfo bs = new bizSysInfo();
     SysInfo bsModel = bs.Get(1);
     return View();
 }