public async Task <MovieRespose> GetMoviesAsync() { var httpClient = new HttpClient(); var response = await httpClient.GetStringAsync(url); var movieReponse = MovieRespose.FromJson(response); return(movieReponse); }
public static string ToJson(this MovieRespose self) => JsonConvert.SerializeObject(self, XamarinUP2018.Services.Converter.Settings);