Hello,
Contacts are important for everyone but it makes users irritating when it gets deleted. Though when they are deleted, they can be recovered if you have previously backed up those on safe place. But I am sure that most of them never create a backup of their important data like contacts in safe place.
Well when you don’t have any backup available then you can try out some professional recovery software that can recover your wiped away contacts from Samsung Galaxy S7 edge.