public JsonResult StoreSiteDropList(string currentId)
        {
            UserInfo              sysUser  = CacheInit.GetUserInfo(HttpContext);
            StoreSiteRepository   rep      = new StoreSiteRepository();
            DataTable             source   = rep.GetDropListSource(sysUser.UserId, currentId);
            List <DropListSource> dropList = rep.DropList(source, "");

            return(DropListJson(dropList));
        }
 public override JsonResult DropList(string currentId, string pySearch)
 {
     try
     {
         ClearClientPageCache(Response);
         UserInfo              sysUser  = CacheInit.GetUserInfo(HttpContext);
         StoreSiteRepository   rep      = new StoreSiteRepository();
         DataTable             source   = rep.GetDropListSource(sysUser.UserId, currentId, sysUser);
         List <DropListSource> dropList = rep.DropList(source, "");
         return(DropListJson(dropList));
     }
     catch (Exception ex)
     {
         AppLog.WriteLog(AppMember.AppText["SystemUser"], LogType.Error, "StoreSiteController.SearchTree", "[Message]:" + ex.Message + " [StackTrace]:" + ex.StackTrace);
         return(new JsonResult());
     }
 }