private async void MakeTheSearch() { var request = new HttpRequestGet(); try { var list = (SearchResult) await request.Search(new SearchResult(), SearchText); if (list != null) { MyResult = list; DisplayResult(); } } catch (Exception e) { Debug.WriteLine(e.Message); } }