public ActionResult _GetFoldersThreed() { string basePath = Session["rootPath"].ToString(); List <string> folderList = null; if (WS.IsGoodString(basePath)) { folderList = new List <string> { "\\" }; if (Directory.Exists(basePath)) { WS.GetFolderThree(basePath, folderList, this.HttpContext); } } return(PartialView(folderList)); }