Amid the massive public outcry over children being separated from their parents who are seeking asylum at the U.S. border, former Attorney General Alberto Gonzales said Congress is responsible for working with President Trump and coming up with long-term immigration reform.

Following Attorney General Jeff Sessions' announcement of a “zero-tolerance” policy in dealing with migrants who cross into the U.S. illegally, approximately 2,300 children have been separated from their families since early May and are being held in detention centers in Texas.

Trump has called on Congress to come up with comprehensive immigration reform legislation. In the meantime, he is reportedly considering executive action to allow children to stay with parents caught crossing the border illegally.

"I do agree with the president that Congress needs to do its job, because immigration really falls within ... the responsibility of the Congress," Gonzales said on "America's Newsroom" on Wednesday.

Trump: 'Fake News Media' Helping Smugglers and Traffickers 'Like Nobody Would Believe'

He said Trump could take executive action on the family separations that have triggered a national outcry and political crisis for Republicans, but that would take pressure off Congress to deliver a long-term fix.

"The downside of the president taking executive action -- which he does have the discretion to do -- is that it would relieve pressure on Congress to do something," Gonzales said, noting that it's the job of the president and Congress to "solve difficult issues" like immigration.

"Congress needs to work together, get the support of the president, of course, in passing legislation that deals with this once and for all."

'Do Your Job, Fix the System': ICE Director Hits Back at Gillibrand for Calling Trump Admin 'Evil'

'He Was Not Elected to Commit Child Abuse': NY Dem, Pelosi Blast Trump for Migrant Family Separations

Schlapp: Dems Using Immigration as 'Emotional, Divisive, Political Play' Ahead of Midterms