/// <summary> /// Gets the hotel list. /// </summary> /// <returns>List of ApiHotelInfo - all hotel info.</returns> /// <param name="searchCriteria">Search criteria.</param> /// <param name="search">Search.</param> public List <ApiHotelInfo> GetHotelList(HotelSearch searchCriteria, ISearchCriteria search) { // Get Search query string from Search Criteria Object var queryString = search.GetSearchQuery(searchCriteria); //call expedia api passing search criteria query string var hotelApiList = makeRequest(queryString); return(hotelApiList.ToList()); }