The url for removing hardware from users contains the hardware id but not the user id.
We are not removing the hardware, just undoing the associataion with a users.
So we need to do something like; $user->removeHardware($hardware), but we don't have a reference to user.
Current routing does not allow two id fields. (one for hardwareId, one for userId).
There is no removeHardware() function in the user entity.
The url for removing hardware from users contains the hardware id but not the user id.
We are not removing the hardware, just undoing the associataion with a users. So we need to do something like; $user->removeHardware($hardware), but we don't have a reference to user.
Current routing does not allow two id fields. (one for hardwareId, one for userId). There is no removeHardware() function in the user entity.