Пример #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;
 }
Пример #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);
 }
Пример #3
0
 public List<Express> GetExpresses()
 {
     CommonManager commonMgr = new CommonManager();
     return commonMgr.GetExpresses();
 }
Пример #4
0
 public KM.JXC.DBA.Corp_Info GetCorpInfo()
 {
     CommonManager commonMgr = new CommonManager();
     return commonMgr.GetCorpInfo();
 }
Пример #5
0
 public ActionResult Help()
 {
     CommonManager com = new CommonManager();
     return View(com.GetCorpInfo());
 }