Preheat the oven to 180°C. Grease an ovenproof dish with non-stick spray.
1. Melt the butter in a pan and fry the onions and garlic until soft. Reserve a third of the parsley and add the rest to the pan. Add the flour, stirring continuously until smooth.
2. Add the wine or stock and stir continuously until just boiling.