First prepare the pastry crust: In a bowl,mix together butter and flour.Butter should be at room temperature and not melted.
Use your fingertips to rub the butter into the flour until you have a mixture that resembles coarse breadcrumbs with no large lumps of butter remaining. Try to work quickly so that it does not become greasy.
Refrigerate this dough for 15 minutes covered in a cling wrap.
Meanwhile preheat your oven at 180 degree c.
After 15 minutes,take the dough and roll it into a 8 inch diameter.
Line your baking tray with this flat dough and press well on the sides and centre to line it properly in the pie pan.
Press it nicely form every side to place it properly.Now with a fork make dot marks on the base to ensure an even bake and for the pastry crust to not rise.
Bake this for 5-7 minutes at 180 degrees c .Take it out once done and keep aside.Keep checking we just need it to get baked just a bit inside before baking it again with the filling.
Meanwhile lets prepare the filling: Heat a pan ,add oil and butter.Add garlic.Cook a bit and then add onion.
Cook till golden brown and add tomatoes.Cook till soft and gravy leaves oil.Add salt,pepper,red chili,garam masala.
Add spinach and cook till soft and water evaporates.Add paneer/cottage cheese and cook for another minute and till water evaporates.
Add sauteed mushrooms and mix well.Put it off flame.
Now,pour this mixture on the pie crust.
Spread evenly.Now put the grated mozzarella cheese on top.Now pour the beaten egg onto the cheese.
Bake at 180 degrees c for about 15 minutes or till golden brown.