public async Task <List <ParkingMachine> > GetAllParkingMachinesAsync() { if (_parkingMachines == null) { _parkingMachines = await _cloudDeliveryService.GetAllItems <ParkingMachine>(); } return(_parkingMachines); }
public async Task <List <Zone> > GetAllZonesAsync() { if (_zones == null) { _zones = await _cloudDeliveryService.GetAllItems <Zone>(); } return(_zones); }