thank you for using the platform and sharing the question with us. I am sorry we couldnt get back to you any sooner.
As for your question:
As your right now an asylum seeker, who got rejected in first phase- I would suggest to you that you wait with the marriage. As even if you get married you will be not able to bring your partner through family unification to Germany.
Therefore, I would suggest to wait for an answer of your case and then proceed with the marriage.
In particular- as during your asylum process you are not allowed to travel without permission of the foreign office in Germany. Further as you don not process any documents getting legally married is not possible at this stage.
I hope we could assist, if you have further question please do ot hesitate to contact us.