Extracting common code
Endpoint on the server side to return all the parking lots.
Accept the parking lots from the server.