Trump was attempting to negotiate with the Afghan President and the Taliban leadership. Not responding to extortion efforts by specific terrorists on the ground is/was the republican objection in the Bergdahl scenario.
Obama botched the situation on many levels. He tried to pass it off as a prisoner swap rather than a negotiating with terrorist scenario- and that might have been some merit to that if he had done that properly rather than just giving the Taliban what they wanted- their Dream Team in return for some fucked-up traitor.
It is relevant to note the even the independent inspector general for the defense department found that Obama was in violation because there was/is a specific statue on the books that says that the president MUST consult with Congress before trading or releasing any prisoners at GITMO. Barry of course just ignored that. He defended it by saying that Bird-dog was in IMMINENT DANGER of dying from his health issues. However, when Bird-dog arrived in Germany and had a full and complete physical it was determined that the only health problem he had was gingivitis- ie. gum disease. Yet he said that Bird-Dog's health was so critical that he did not have time to consult with Congress as the law required. Translation: No way Congress would have approved it.
Trump is not being extorted and he is dealing with senior leadership who want to discuss policy. When it looked like they were using threats/killings to ramp up the process, Trump basically said. "No, I am not doing that shit. Meeting cancelled." Entirely proper.
No equivalency with the Obama fiasco.
Oh, and of course, the Dream Team has been back killing Americans for many years now. Lucky for them, they had Obama negotiating for them.
Translation:. "I prefer a dog with bark and no bite to a temperate diplomat with the backing of the whole world and crippling sanctions if agreements not upheld."