Take the shredded chicken and season to your liking, mix the corn and peas and set aside.
For the dough, put the wheat flour, and then the margarine, knead until it forms a paste, if it gets too hard, sprinkle with water, add the salt and when the dough is letting go of your hand, it's ready.
Take a roast of your choice and make a thin layer with the dough, involving the whole roast, done that, put the chicken, take a cling film and open some of the dough in the same size as the shape, cover the pie and brush the yolk on top and bake for 20 minutes at 180 degrees.