/// <summary> /// Print average rating for registered restaurant profiles. /// </summary> private void ShowAverageReviews() { // Restaurant entities from database Restaurants.ForEach(r => { Console.Write($"{r.RestaurantName} - Rating: {r.HumanAverageRating()} Bar Graph: "); ChartHelper.Generate(r.AverageRating()); Thread.Sleep(ApplicationConfig.CHART_DELAY); // pause execution for a brief moment }); Console.WriteLine("Press any key to return to the menu ..."); Console.ReadLine(); Selection = -1; ProcessSelection(); }