public JsonObject GetInfoCategorySaveView(long infoCategoryId, long pageNo, long itemsPerPage, int dataIndex, string templateSuffix, bool hideDisplay) { JsonObject retMessage = new JsonObject(); string htmlText = InfoCategoryView.GetSaveDetailView(infoCategoryId, pageNo, itemsPerPage, dataIndex, templateSuffix, hideDisplay); retMessage.Put("html", htmlText); return(retMessage); }
public JsonObject GetInfoCategoryListView(long pageNo, long itemsPerPage, int dataIndex, string templateSuffix, bool hideDisplay) { JsonObject retMessage = new JsonObject(); string htmlText = InfoCategoryView.GetListAllItemView(pageNo, itemsPerPage, dataIndex, templateSuffix, hideDisplay); if (string.IsNullOrEmpty(htmlText) == true) { htmlText = " "; } retMessage.Put("html", htmlText); return(retMessage); }