public JsonObject GetDataRefTypeSaveView(long dataRefTypeId, long pageNo, long itemsPerPage, long dataIndex, string templateSuffix)
        {
            var retMessage = new JsonObject();

            string htmlText = DataRefTypeView.GetSaveDetailView(dataRefTypeId, pageNo, itemsPerPage, dataIndex, templateSuffix);

            retMessage.Put("html", htmlText);

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

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

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

            return(retMessage);
        }