public Task <List <FolderItem> > GetFilesForFolderAsync(FolderItem parent) { return(Task.Run <List <FolderItem> >(() => _context.Files.Where(c => c.Parent.Path == parent.Path).ToList())); }