public ActionResult AgentGuide() { SiteManagement siteMgr = new SiteManagement(User.Identity.GetUserId<int>()); Help_Info info = siteMgr.GetHelpInfo(); return View(info); }
public ActionResult Contact() { SiteManagement siteMgr = new SiteManagement(0); Help_Info info = siteMgr.GetHelpInfo(); return View(info); }
public ActionResult SiteInfo() { SiteManagement siteMgr = new SiteManagement(User.Identity.GetUserId<int>()); Help_Info info = siteMgr.GetHelpInfo(); if(info==null) { info = new Help_Info() { About = "", AdminHelp = "", AgentHelp = "", Contact = "" }; } return View(info); }