예제 #1
0
        public JsonResult CreateIndex(string indexFolder)
        {
            IndexHelper.AddIndex(indexFolder);
            AjaxResponse ajaxResponse = GetIndexAjaxResponse();

            return(Json(ajaxResponse));
        }
예제 #2
0
        public JsonResult CreateIndex(string indexFolder)
        {
            string indexFolderPath = _defaultIndexFolder + "\\" + indexFolder;

            IndexHelper.AddIndex(indexFolderPath);
            AjaxResponse ajaxResponse = GetIndexAjaxResponse();

            return(Json(ajaxResponse));
        }