Boil both the dals with turmeric in a pressure cooker. Separately boil the greenpeas and carrots for a few minutes till they are cooked. In a non-stick pan, saute the mustard seeds, cumin seeds and asafoetida.
Add in the onions, garlic, ginger and green chillies. Fry well. Add tomatoes. Fry for a minute or two. Next, add in the dals, spinach, greenpeas and carrots. Add some water if the mixture is too thick.
Then add salt to taste. Cook for 4-5 minutes or till the spinach is soft and cooked. This dish can also be made without spinach, in which case, garnishing can be done with chopped corriander leaves.