Esempio n. 1
0
        public async Task <Movie> GetMovie(int id)
        {
            var movie = await _apiClient.GetAsyncWithUnderscorePropertyNames <Movie>(new Uri(string.Format(_movieSettings.BaseUrlDetails, id, _movieSettings.ServiceApiKey)));

            movie.FullPosterPath = string.Format(_movieSettings.BaseUrlImage, movie.PosterPath);
            return(movie);
        }