public async Task <IEnumerable <Album> > ReadAlbums() { var json = await _httpRequestService.Get(_albumsUrl); var albums = JsonConvert.DeserializeObject <IEnumerable <Album> >(json); var photos = await ReadPhotos(); return(albums.Select(album => { album.PhotoRelLinks = photos.Where(photo => photo.AlbumId == album.Id).Select(photo => $"{BaseUrl}/photos/{photo.Id}"); return album; })); }