Cook 3 slices diced bacon until crisp; remove and reserve. Add 2 sliced onions to the pan. Season with salt and pepper and cook over low heat, covered, 10 minutes. Uncover and cook until golden, 30 more minutes. Stir in 1/4 cup each mayonnaise and grated Swiss cheese, 2 tablespoons chopped parsley and the bacon.