Preheat oven to 375 degrees F and butter a 9x13 inch casserole baking dish.
Melt butter in a skillet over medium heat and sauté chopped onion and garlic four minutes.
Pour heavy cream, salt, and black pepper into the skillet, warming gently for two minutes.
Arrange one-third of the sliced potatoes in an even layer in the prepared baking dish.
Pour one-third of the warm cream mixture over potatoes and sprinkle with half cup cheddar cheese.
Repeat layers twice, finishing with remaining cheddar and grated Parmesan on top.
Cover dish tightly with aluminum foil and bake 45 minutes until potatoes test tender with a fork.
Remove foil and bake 15 minutes longer until top bubbles and turns golden brown.
Rest casserole ten minutes before garnishing with fresh chopped parsley and serving.