Example #1
0
 public ActionResult Activity()
 {
     bizSysInfo s = new bizSysInfo();
     SysInfo model=s.Get(Enumerations.SysInfoType.BBSAction);
     return View(model);
 }
Example #2
0
 public ActionResult Activity(FormCollection f)
 {
     bizSysInfo s = new bizSysInfo();
     s.Mod(Enumerations.SysInfoType.BBSAction, f["content"]);
     return RedirectToAction("Activity");
 }
Example #3
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();
 }