private async Task UpdateImage(string path, string albumId)
        {
            IEnumerable <string> images = await _imageUpdater.FindAlbumImages(albumId);

            if (images.Any())
            {
                await _imageService.UpdateAlbum(path, images.First());
            }
        }
Example #2
0
        public async Task <IEnumerable <Image> > FindImages()
        {
            IEnumerable <string> images = await _imageUpdater.FindAlbumImages(_albumViewModel.Id);

            return(images.Select(CreateImageFromUrl));
        }