Heat Oil In A Large Skillet Over Medium Heat. Fry Onion In Oil Until Translucent. Transfer To A Medium Bowl, And Mix With Mashed Potatoes And Corned Beef. Season With Salt And Pepper. Form Into 8 Patties. Fry Patties In The Skillet Over Medium-High Heat Until Golden Brown On Both Sides.