public async Task <string> SaveImage(FanartTVImageInfo image, string path, string fileName, CancellationToken cancellationToken) { var url = image.url; return(await _FanartTvWebClient.SaveFile(url, path, fileName, cancellationToken)); }
public async Task DownloadImage(FanartTVImageInfo image, Stream copyStream, CancellationToken cancellationToken) { var path = image.url; await _FanartTvWebClient.Download(path, copyStream, cancellationToken); }
public Task <string> SaveImage(FanartTVImageInfo image, string path, string fileName) { return(SaveImage(image, path, fileName, CancellationToken.None)); }
public Task DownloadImage(FanartTVImageInfo image, Stream copyStream) { return(DownloadImage(image, copyStream, CancellationToken.None)); }