public object Add(ParkingLotViewModel model) { bool success = _userService.MakeOwner(model.OwnerId); if (success) { model = _parkingLotService.Add(model); if (model == null) { return(new ResponseDetails(false, "Could not add new parking lot request.")); } return(new ResponseDetails(true, model)); } else { return(new ResponseDetails(false, $"User with Id : { model.OwnerId } not found.")); } }