/// <summary> /// Receives the search result request and goes to th database looking for the information. /// </summary> /// <param name="request">A request model that contains the search parameters.</param> /// <returns></returns> public ActionResult SearchResult(FilmSearch search) { FilmDAO dao = new FilmDAO(connectionString); IList <Film> result = dao.GetFilmsBetween(search.Genre, search.MinLength, search.MaxLength); return(View(result)); /* Call the DAL and pass the values as a model back to the View */ }