public async Task <IFile[]> GetFiles() { return((await ContentSmb?.ListFilesAsync()).Where(a => a.IsFile())?.Select(a => new FileSmb(a)).ToArray()); }
public async Task <IDirectory[]> GetDirectories() { return((await ContentSmb?.ListFilesAsync()).Where(a => a.IsDirectory())?.Select(a => new DirectorySmb(a)).ToArray()); }