For the onion filling:
Heat 2 tbsp oil in a broad pan. Add asafoetida, cumin seeds, fennel seeds,onions seeds,mustard seeds, and crushed coriander seeds.
Sauté for half a minute. Add gram flour roast for two minutes.Add chopped red onions, salt and continue to sauté.