public async Task <IEnumerable <Book> > SearchBooks(SearchDto search) { var title = _queryHelper.Encode(search.Title); var author = _queryHelper.Encode(search.Author); var orderBy = _queryHelper.GetOrderBy(search.OrderBy); var url = _queryHelper.GetUrl(title, author, orderBy, search.MaxResults); var results = await _searchRunner.PerformSearch(url); return(_searchMapper.MapBooks(results)); }