mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-11-05 07:38:13 -05:00
Add some extra helper code on the RegistrationClient
This commit is contained in:
parent
e79f1910c9
commit
e12b47fe4c
@ -28,8 +28,16 @@ public class RegistrationClient {
|
||||
return gds.listLot(choice.getValue());
|
||||
}
|
||||
|
||||
public ParkingLot listLot(ParkingLot lot) {
|
||||
return gds.listLot(lot.getLocation().getValue());
|
||||
}
|
||||
|
||||
public void rateLot(RatingChoices rating, ParkingChoices parkingLot) {
|
||||
gds.rateLot(rating, parkingLot);
|
||||
}
|
||||
|
||||
public void rateLot(ParkingRating rating) {
|
||||
gds.rateLot(rating.getRating(), rating.getParkingLot());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user