oh, how terrible it heard! Be careful in the future. Anyway, you need to wait and see whether it still works or not for a few days. I can say maybe it still works well after several days' drying. You can put it into rice to have a dry, then leave it alone in a clean and dry place. Several days later, restart it and check it.
If it still cannot work, maybe you can worry about the data most. But i will say, if you backed it up before accident happens, you can got all the data back from the backup. Here is a professional tool that extract data from iTunes backup without iPod or other iOS devices.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
0