void ShowTransactionByLastMinute() { List <Transaction> transactions = parking.GetTransactionByLastMinute(); foreach (var item in transactions) { Console.WriteLine($"{item.TimeOfTransaction}\tCar Id:{item.CarId}\t Fee:{item.Fee}"); } }
void ShowTransactionByLastMinute() { List <Transaction> transactions = parking.GetTransactionByLastMinute(); foreach (var item in transactions) { Console.WriteLine($"{item.TimeOfTransaction}\tCar Id:{item.CarId}\t Fee:{item.Fee}"); } }