Preheat and prep. Heat the oven to 375°F and grease a 9x13-inch baking dish. Peel the potatoes and slice them 1/8-inch thick, keeping the slices in cold water so they don't brown.
Brown the beef. Set a large skillet over medium-high heat. Add the ground beef and cook, breaking it into crumbles with a wooden spoon, for 5 to 6 minutes until no pink remains and the edges turn crispy. The USDA recommends ground beef reach an internal temperature of 160°F for food safety.
Season the meat. Push the beef to one side of the skillet and add the diced onion to the empty space. Cook 3 to 4 minutes, stirring, until the onion softens and turns translucent. Stir in the garlic, salt, pepper, paprika, and onion powder and cook 1 minute more, until fragrant. Drain off any excess fat.
Mix the sauce. In a medium bowl, whisk the condensed soup, milk, and sour cream until smooth — thick but pourable, like a loose gravy. Stir in the thawed corn if using.
Dry the potatoes. Drain the potato slices and pat them thoroughly dry with kitchen towels. Wet potatoes water down the sauce and make the bottom layer soggy. Toss the dried slices with the olive oil and 1/2 teaspoon salt.
Layer the casserole. Spread half the potato slices in an even, slightly overlapping layer in the dish. Spoon half the seasoned beef over the potatoes, then drizzle with half the sauce. Repeat with the remaining potatoes, beef, and sauce, spreading each layer to the edges.
Add the cheese. Sprinkle 1 1/2 cups of the cheddar evenly over the top layer. Reserve the remaining 1/2 cup for the final browning.
Bake covered. Cover the dish tightly with aluminum foil, crimping the edges so steam stays in. Bake at 375°F for 45 minutes — the trapped steam is what cooks the potatoes through instead of drying them out.
Finish uncovered. Remove the foil, sprinkle the remaining 1/2 cup of cheddar over the top, and bake 15 to 20 minutes more, until the cheese is golden and the sauce bubbles around the edges.
Rest and serve. Let the casserole rest 10 minutes before cutting so the sauce thickens and you get clean, sliceable portions. Garnish with chopped parsley and serve warm — a dollop of sour cream on each portion is never a bad idea.