Don't know what software you use, but if you can get it onto a
Flash drive and run it you should be able to recover the partition(s)
That's why it's always good to have an emergency boot disk (either on
a flash drive or a CD or DVD) with your software tools on it...
Many of the free partition softwares can do this...you just have to
to get to another computer and make a boot disk with the software on it
to be able to run it to make the recovery (as long as nothing else has been
done since you deleted the partitions)
Don't know if that helped or not...