Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public List<Express> GetExpresses()
 {
     CommonManager commonMgr = new CommonManager();
     return commonMgr.GetExpresses();
 }
Ejemplo n.º 4
0
 public KM.JXC.DBA.Corp_Info GetCorpInfo()
 {
     CommonManager commonMgr = new CommonManager();
     return commonMgr.GetCorpInfo();
 }
Ejemplo n.º 5
0
 public ActionResult Help()
 {
     CommonManager com = new CommonManager();
     return View(com.GetCorpInfo());
 }