Open the pastry dough and place the filling. Close with another whole dough on top. Run your finger along the entire edge between the two water masses, to stick the dough well. Squeeze with a fork.
Fry in hot oil. Be careful not to pierce the pastry.