For the paste:
Combine all the ingredients in a pan and simmer for 8-10 minutes till the onions are soft and nearly all the liquid has evaporated.
Puree the mixture to a smooth paste in a blender. Keep aside.
For the gravy
Combine the milk, curds and gram flour. Mix well and keep aside.
Sprinkle salt over the methi leaves and leave aside for 10 minutes. Wash the leaves well. Squeeze out all the water.
Heat the oil in a non-stick pan and add the cumin seeds.
When the seeds crackle, add the methi leaves and kasuri methi and saute for 3-4 minutes.
Add the prepared paste, curd-gram flour mixture, garam masala and salt with 1/2 cup of water and bring the mixture to a boil.
Add the green peas and simmer for 1-2 minutes.
Serve hot with chapathis.