private static void ShowCustomerRentals(string customerName) { var rents = rentService.GetCustomersActiveRents(customerName); Console.WriteLine("{0}'s rents:", customerName); foreach (var rent in rents) { ShowRentedFilm(rent); } var total = rentService.CalculateTotalPriceOfCustomersActiveRents(customerName); Console.WriteLine("Total: {0} EUR", total); }