That’s a commonly repeated bit of ignorance among Trump Supporters. That doesn’t change the fact that it’s based on a complete lie.
First, the reason for the two actions. The Obama administration was dealing with a specific threat posted in reaction to the would be attackers of Bowling Green. The Trump regime is dealing with the threat of a xenophobic voter base looking for someone else to vote for to express their racism.
Second was the depth of the order. The Obama administration was a pause on refugee processing. The Trump regime stopped all traffic from non US citizens.
On all intelligent, honest and factual bases you are looking at two completely different policies. The only real functional similarity is they were both Presidential actions.