示例#1
0
 public async Task <DatasetNames> GetDatasetNamesAsync(CancellationToken cancellationToken)
 {
     return(new DatasetNames
     {
         Names = (await fDatasetRepository.FindAllAsync(cancellationToken))
                 .Select(ds => ds.Name)
                 .ToArray()
     });
 }