private async Task UpdateImage(string path, string albumId) { IEnumerable <string> images = await _imageUpdater.FindAlbumImages(albumId); if (images.Any()) { await _imageService.UpdateAlbum(path, images.First()); } }
public async Task <IEnumerable <Image> > FindImages() { IEnumerable <string> images = await _imageUpdater.FindAlbumImages(_albumViewModel.Id); return(images.Select(CreateImageFromUrl)); }