From 47e327d65e4cb9e49da0fcdcbfd7c79b139401a7 Mon Sep 17 00:00:00 2001 From: bspeice Date: Fri, 18 Oct 2013 18:05:32 -0400 Subject: [PATCH] RegistrationClient should take in a ParkingChoice to list, not a lot --- src/com/uncc/gameday/registration/RegistrationClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/uncc/gameday/registration/RegistrationClient.java b/src/com/uncc/gameday/registration/RegistrationClient.java index 394ae74..a308bbd 100644 --- a/src/com/uncc/gameday/registration/RegistrationClient.java +++ b/src/com/uncc/gameday/registration/RegistrationClient.java @@ -24,8 +24,8 @@ public class RegistrationClient { return gds.listLots(); } - public ParkingLot listLot(ParkingLot lot) { - return gds.listLot(lot.location.getValue()); + public ParkingLot listLot(ParkingChoices choice) { + return gds.listLot(choice.getValue()); } public void rateLot(ParkingRating rating, ParkingChoices parkingLot) {