Welcome to the TH Community, @GrahamHS!
Unfortunately, if the hard drives have been physically damaged (fried), there's nothing you can do to make them work. Hardware damage on a sensitive piece of hardware as a mechanical hard drive is really hard to execute
and most of the time the repairs are actually more expensive than a brand new drive. I'd advise you stay away from the problematic system that fried the HDDs and take it to a professional PC repair service to go through full diagnostics. If the hDDs are brand new, you should contact the manufacturer's or the reseller's customer support for assistance with an RMA procedure (if possible). Otherwise, you'd be better off getting replacement drives.
I hope you didn't have any important files onto the drives, or you will probably need the assistance of a professional data recovery company as well, which again won't be a cheap fix. My recommendation is to always keep at least one more copy of your files on a different drive (off-site as well as on-site). That's why keeping your data only on your system's internal HDDs, without an off-site backup could easily lead to data loss.
Hope this was helpful. Let me know if you have any additional questions.
SuperSoph_WD