public Reservation SearchDateAvailabilityByCampground() { string campground = CLIHelper.GetString("Please enter campground name: "); DateTime startDate = CLIHelper.GetDateTime("Please enter a start date: "); DateTime endDate = CLIHelper.GetDateTime("Please enter an end date: "); Reservation reservation = new Reservation() { CampgroundName = campground, FromDate = startDate, ToDate = endDate }; CampgroundSqlDAL dal = new CampgroundSqlDAL(); List <Site> siteList = dal.SearchDateAvailabilityByCampground(reservation); if (siteList.Count < 1) { Console.WriteLine("No available sites for this date range."); return(null); } else { siteList.ForEach(site => Console.WriteLine(site)); } return(reservation); }