Exemplo n.º 1
0
        public static IMDBMovieSearchResult SearchMovie(string title)
        {
            IMDBMovieSearchResult movie = DeserializeIMDBMovieSearchResult(GetDataFromOMDB(new string[] {
                "s=" + title
            }));

            return(movie);
        }
Exemplo n.º 2
0
        static IMDBMovieSearchResult DeserializeIMDBMovieSearchResult(string json)
        {
            IMDBMovieSearchResult deserializedProduct = JsonConvert.DeserializeObject <IMDBMovieSearchResult>(json);

            return(deserializedProduct);
        }