If you pull the internals of the ecm out and let it dry it may be still ok. I had the same thing happen to me in the rain one day. I grabbed the ol lady's hair dryer and went to town. Make sure you check the plugs and pins on the ecm for corrosion. A small spritz of WD 40 will keep them from corroding. If there is a little corrosion try to clean it with a q tip and vinegar.