Heat the olive oil in a medium saucepan and gently sweat the onion for 10 minutes until soft. Add the garlic and cook for a further minute. Add the tinned tomatoes, tomato purée, caster sugar and parsley. Season with salt and pepper and cook on a gentle heat, stirring occasionally for 30 minutes or until thick and well reduced.