Computer and other electronic equipment can sometimes be repaired after becoming wet.
Testing and repair should be done by a trained professional. You can take some steps to increase the chances of recovering this equipment.
Do not turn on the computer for any reason! As soon as possible, unplug computer and attached devices from the wall and from battery back-up units.
Open computer case and let air dry. If you have experience with the internal workings of your computer, you may wish to remove individual cards and plugs to facilitate drying.
If the computer was submerged in salt water or other corrosive material, rinse the parts in clean water and then dry.