Heat the oil in a pan or kadhai on a medium-low flame and add a tsp of jeera and rai in the kadhai and saute till it splutters.
Now, add finely sliced onions and stir it till it turns golden brown in colour and looks translucent.
Then, add grated ginger garlic and saute till raw smell of garlic goes away.
Add whole red chillies and vertically slit green chillies and saute for a few seconds.
Then, add haldi, coriander powder and red chilli powder into the kadhai and mix it nicely with onions and cook for few minutes.
Add finely chopped tomatoes in the kadhai and mix all the ingredients nicely.
Cover and cook tomatoes till it turns soft and, add the mashed dal into the kadhai and mix it nicely with onion and tomatoes.
Now, add water and salt as per taste in the pan.
Cover and cook for 2 to 3 minutes and allow it to simmer on the medium-low flame till you get a perfect consistency.
Finally, add kasuri methi and garam masala and stir it nicely.
Garnish it with freshly chopped coriander leaves and Dal Fry is ready to be served.