public JsonResult RenameFolder(string path, string name) { FolderManager.Rename(path, name); var res = new TreeViewModel { status = true, prompt = string.Empty }; return(Json(res, JsonRequestBehavior.AllowGet)); }