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