It would be unusual for both to fail at the same time so try something common to both. If they are both IDE drives and they are on the same cable it would make sense to check where the cable enters the motherboard. Are you getting any lights on them when you try to activate them? If not then do they have a common power connection?
iMac Pro review