public List <FileGroup> GetGroups()
        {
            var root       = shareClient.GetRootDirectoryClient();
            var items      = root.GetFilesAndDirectories();
            var fileGroups = new List <FileGroup>();

            foreach (ShareFileItem item in items)
            {
                if (!item.IsDirectory)
                {
                    continue;
                }
                var fm36Folder = root.GetSubdirectoryClient(item.Name);
                var fileGroup  = new FileGroup {
                    Name = fm36Folder.Name
                };
                var fm36Files = fm36Folder.GetFilesAndDirectories();
                foreach (var fm36File in fm36Files)
                {
                    if (fm36File.IsDirectory)
                    {
                        continue;
                    }
                    fileGroup.Files.Add(Fm36File.Parse(fm36File.Name));
                }
                fileGroups.Add(fileGroup);
            }

            return(fileGroups);
        }
        public FileGroup GetGroup(string groupName)
        {
            var root       = shareClient.GetRootDirectoryClient();
            var fm36Folder = root.GetSubdirectoryClient(groupName);
            var fileGroup  = new FileGroup {
                Name = fm36Folder.Name
            };
            var fm36Files = fm36Folder.GetFilesAndDirectories();

            foreach (var fm36File in fm36Files)
            {
                if (fm36File.IsDirectory)
                {
                    continue;
                }
                fileGroup.Files.Add(Fm36File.Parse(fm36File.Name));
            }

            return(fileGroup);
        }