Are both sentences correct

  1. I confide my problems to my father.
  2. I confide in my father my problems.

Are both sentences correct?

Thanks

Please ignore this post. Inadvertently double posted.