Cook the stuffing: saute minced meat along with finely chopped onion, salt, and pepper. Place a parchment on a baking tray. Take the dough and start forming buns. Place one teaspoon of stuffing in each piece of dough, wrap them, and keep in a warm place for 10-15 minutes. Preheat an oven to 170 degrees. Bake patties for 15 minutes. After that spread with beaten egg and bake at 200 degrees for 5 more minutes.