mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-01-09 15:30:06 -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());
|
return gds.listLot(choice.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ParkingLot listLot(ParkingLot lot) {
|
||||||
|
return gds.listLot(lot.getLocation().getValue());
|
||||||
|
}
|
||||||
|
|
||||||
public void rateLot(RatingChoices rating, ParkingChoices parkingLot) {
|
public void rateLot(RatingChoices rating, ParkingChoices parkingLot) {
|
||||||
gds.rateLot(rating, parkingLot);
|
gds.rateLot(rating, parkingLot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void rateLot(ParkingRating rating) {
|
||||||
|
gds.rateLot(rating.getRating(), rating.getParkingLot());
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user