public async Task <MovieRespose> GetMoviesAsync()
        {
            var httpClient = new HttpClient();
            var response   = await httpClient.GetStringAsync(url);

            var movieReponse = MovieRespose.FromJson(response);

            return(movieReponse);
        }
Beispiel #2
0
 public static string ToJson(this MovieRespose self) => JsonConvert.SerializeObject(self, XamarinUP2018.Services.Converter.Settings);