mirror of
				https://github.com/bspeice/UNCCGameDay
				synced 2025-11-03 18:00:43 -05:00 
			
		
		
		
	Add some extra helper code on the RegistrationClient
This commit is contained in:
		@ -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());
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user