public JsonObject GetInfoDetailSaveView(long infoDetailId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, long infoSectionId)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoDetailView.GetSaveDetailView(infoDetailId, pageNo, itemsPerPage, dataIndex, templateSuffix, infoSectionId);

            retMessage.Put("html", htmlText);

            return(retMessage);
        }
        public JsonObject GetInfoDetailListView(long pageNo, long itemsPerPage, long dataIndex, string templateSuffix, long infoSectionId)
        {
            JsonObject retMessage = new JsonObject();

            string htmlText = InfoDetailView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, infoSectionId);

            if (string.IsNullOrEmpty(htmlText) == true)
            {
                htmlText = " ";
            }
            retMessage.Put("html", htmlText);

            return(retMessage);
        }