private UIButton SearchButton(UILabel movieLabel, UITextField searchField, UIActivityIndicatorView loading)
        {
            var searchButton = UIButton.FromType(UIButtonType.RoundedRect);

            searchButton.Frame = new CGRect(this.View.Bounds.Width / 2 - this.View.Bounds.Width / 6, StartY + 2 * Height + 15, this.View.Bounds.Width / 3, Height - 20);
            searchButton.SetTitle("Get movies", UIControlState.Normal);
            searchButton.TintColor          = UIColor.FromRGB(31, 31, 31);
            searchButton.BackgroundColor    = UIColor.FromRGB(186, 157, 9);
            searchButton.Layer.CornerRadius = 10;
            searchButton.TouchUpInside     += async(sender, args) =>
            {
                loading.StartAnimating();
                searchButton.Enabled = false;
                searchField.ResignFirstResponder();
                List <Movie> movies = await converter.GetMoviesByTitleAsync(searchField.Text);

                foreach (Movie m in movies)
                {
                    m.ImageName = await getPosterAsync(m.ImageName);
                }
                loading.StopAnimating();
                searchButton.Enabled = true;
                this.NavigationController.PushViewController(new MovieTitleController(movies), true);
            };
            return(searchButton);
        }
        public async Task <Movie> GetSingleMovieAsync(string searchTerm)
        {
            List <Movie> movies = await converter.GetMoviesByTitleAsync(searchTerm);

            return(movies.FirstOrDefault());
        }