public async Task <IEnumerable <IFolder> > GetFoldersAsync(string path, string skipToken = null, int limit = 100) { if (string.IsNullOrEmpty(path)) { throw new ArgumentNullException(nameof(path)); } var folders = await _folders.GetChildrenAsync(path, skipToken, limit); return(folders.Select(folder => new Folder { Id = folder.Id, Path = folder.Path, Name = GetLast(folder.Path) })); }