public object GetRequested() { List <ParkingLotViewModel> model = _parkingLotService.GetRequested(); if (model.Any()) { return(new ResponseDetails(true, model)); } return(new ResponseDetails(false, "None at the moment")); }
public object GetRequested() { List <ParkingLotViewModel> model = _parkingLotService.GetRequested(); if (model.Any()) { return(new ResponseDetails(true, model)); } return(new ResponseDetails(false, "None at the moment")); }