예제 #1
0
        public List <string> CreateDirectory(int projectId, [FromBody] DirectoryDTO dir)
        {
            var fullpath = _fileService.GetFullPath(projectId.ToString(), dir.name);
            var diInfo   = _fileService.AddDirectory(projectId, fullpath);

            return(diInfo?.GetDirectories().Select(d => d.Name).ToList());
        }