Quickly knead the flour, egg, salt and butter into a shortcrust pastry, add 2 tablespoon water if necessary. Place the shortcrust pastry in the refrigerator for about 30 minutes.
In the meantime, prepare the topping:
Peel and finely chop the onion and garlic, fry in a large pan with oil, then add the minced meat, fry well. Now add the cleaned, diced peppers, season with salt and pepper.
Preheat the oven to 200 degrees. Roll out the dough and line a greased springform pan with it. Stir the corn kernels into the meat mixture, spread the mixture over the dough. Pour a mixture of egg and cheese over them and bake for about 35 minutes until golden brown.