コード例 #1
0
 public string GetLookupSubcountyList(string county)
 {
     //Console.WriteLine("GetLookupSubcountyList");
     _jsonObject = LookupLogic.GeSubCountyListJson(GlobalObject.unescape(county));
     //ILookupManager lookupManager = (ILookupManager)ObjectFactory.CreateInstance("BusinessProcess.CCC.BLookupManager, BusinessProcess.CCC");
     //List<LookupCounty> lookupCounties = lookupManager.GetLookupSubcounty(county);
     //if (lookupCounties != null && lookupCounties.Count > 0)
     //{
     //    jsonObject = new JavaScriptSerializer().Serialize(lookupCounties);
     //}
     //else
     //{
     //    jsonObject = "[]";
     //}
     return(_jsonObject);
 }