public object GetByUser(int userId) { List <ParkingLotViewModel> model = _parkingLotService.GetByUser(userId); if (model == null) { return(new ResponseDetails(false, $"User with Id : { userId } not found.")); } return(new ResponseDetails(true, model)); }