Ejemplo n.º 1
0
        public async Task <IActionResult> Index(SearchRequest searchRequest)
        {
            if (ModelState.IsValid)
            {
                ViewData["Results"] = await this.googleReader.GetResults(searchRequest.GetQueryUrl(), searchRequest.FilterUrl);

                return(View());
            }
            return(View(searchRequest));
        }