public ActionResult MenuFileTreeMoverCopiar(FormCollection Postpath)
        {
            string _pastaSolicitada = Postpath["dir"];

            UsuarioLogado infoUsuarioLogado = new UsuarioLogado();

            var _infoUsuarioLogado = infoUsuarioLogado.GetUsuarioLogado(User.Identity.Name);
            //int prmIdUsuario, string prmDiretorio, string prmTipo, string prmStatus)
            ListaDiretoriosArquivos list_diretoriosArquivos = ListaDiretoriosArquivosBaseDados.RetornaDiretoriosArquivosBaseDados(_infoUsuarioLogado.Usu_Id, _pastaSolicitada, "D", "A");

            return(PartialView(list_diretoriosArquivos));
        }
        public ActionResult MoverPastaArquivoModal()
        //       public ActionResult MoverPastaArquivoModal(FormCollection PostForm)
        {
            //      string _nomeArquivoPasta = PostForm["nomeArquivoPasta"];
            //      string _caminhoCompleto = PostForm["caminhoCompleto"];
            //      string _caminhoRetorno = PostForm["caminhoRetorno"];
            //      string _estadoPasta = PostForm["estadoPasta"];
            //      string _tipo = PostForm["tipoArquivoPasta"];
            ////      string _diretorioBaseUsuario = "";

            //      ViewData["nomeArquivoPasta"] = _nomeArquivoPasta;

            //      if (_caminhoRetorno == "" || _caminhoRetorno == null)
            //      {
            //          _caminhoRetorno = "/";
            //      }

            //      if (_tipo == "A")
            //      {

            // //         _caminhoCompleto = _caminhoCompleto.Substring(0, _caminhoCompleto.LastIndexOf("/"));
            //          _caminhoCompleto = _caminhoCompleto.Substring(0, _caminhoCompleto.LastIndexOf("/") + 1);
            //      }

            //      ViewData["caminhoCompleto"] = _caminhoCompleto;

            //      if (_estadoPasta == "aberta")
            //      {
            //          _caminhoRetorno = _caminhoRetorno.Substring(0, _caminhoRetorno.LastIndexOf("/"));
            //          _caminhoRetorno = _caminhoRetorno.Substring(0, _caminhoRetorno.LastIndexOf("/") + 1);
            //      }
            //      ViewData["caminhoRetorno"] = _caminhoRetorno;
            //      ViewData["tipoArquivoPasta"] = _tipo;


            UsuarioLogado infoUsuarioLogado = new UsuarioLogado();

            var _infoUsuarioLogado = infoUsuarioLogado.GetUsuarioLogado(User.Identity.Name);
            //int prmIdUsuario, string prmDiretorio, string prmTipo, string prmStatus)
            ListaDiretoriosArquivos list_diretoriosArquivos = ListaDiretoriosArquivosBaseDados.RetornaDiretoriosArquivosBaseDados(_infoUsuarioLogado.Usu_Id, "/", "D", "A");

            return(PartialView(list_diretoriosArquivos));
        }