public JsonResult GetResourceListHtml(string resourceSet)
        //public IEnumerable<ResourceIdListItem> GetResourceListHtml(string resourceSet)
        {
            var ids = Manager.GetAllResourceIdListItems(resourceSet);
            if (ids == null)
                throw new ApplicationException(DbIRes.T("ResourceSetLoadingFailed", STR_RESOURCESET) + ":" +
                                               Manager.ErrorMessage);

            //return ids;
            return Json(ids, jsonSettings);
        }
        public IEnumerable <ResourceIdListItem> GetResourceListHtml(string resourceSet)
        {
            var ids = Manager.GetAllResourceIdListItems(resourceSet);

            if (ids == null)
            {
                throw new ApplicationException(WebUtils.GRes(STR_RESOURCESET, "ResourceSetLoadingFailed") + ":" +
                                               Manager.ErrorMessage);
            }

            return(ids);
        }