public Task <IEnumerable <byte[]> > GetRrdFiles(IEnumerable <string> fileNames) { if (RequestType == RequestType.http) { var toto = "rrd.php?name="; return(_getclient.GetRrdFilesAsync(fileNames)); } if (RequestType == RequestType.ssh) { var tutu = "/var/lib/openmediavault/rrd/"; return(_getclient.GetRrdFilesAsync(fileNames.Select(f => tutu + f))); } return(Task.FromResult(default(IEnumerable <byte[]>))); }