public List<Common_District> GetAreas() { HttpContextBase context = (HttpContextBase)Request.Properties["MS_HttpContext"]; HttpRequestBase request = context.Request; List<Common_District> areas = new List<Common_District>(); CommonManager commonMgr = new CommonManager(); int parent_id = 0; int.TryParse(request["parent_id"],out parent_id); areas = commonMgr.GetAreas(parent_id); return areas; }
public ActionResult Login(string message) { CommonManager sysMgr = new CommonManager(); List<Open_Key> keys = sysMgr.GetOpenKeys(); if (!string.IsNullOrEmpty(message)) { ViewData["message"] = message; } return View(keys); }
public List<Express> GetExpresses() { CommonManager commonMgr = new CommonManager(); return commonMgr.GetExpresses(); }
public KM.JXC.DBA.Corp_Info GetCorpInfo() { CommonManager commonMgr = new CommonManager(); return commonMgr.GetCorpInfo(); }
public ActionResult Help() { CommonManager com = new CommonManager(); return View(com.GetCorpInfo()); }