Ejemplo n.º 1
0
        public IDataInfo GetDataInfoObjectByPath(string nodePath)
        {
            FolderDB dbobj = repository.GetFolderDBWithoutFileInfosByPath(nodePath);
            ObservableCollection <DBFileInfo> files = repository.GetFileInfosOfFolderDB(nodePath);

            FolderInfo folderInfo = FolderHelper.changeToFolderInfo(dbobj);

            if (folderInfo != null)
            {
                folderInfo.AttachFiles = files;
            }

            return(folderInfo);
        }