Preheat oven to 350 degrees. Melt margarine in a pan and pour into a bowl. Beat the eggs and add them to the margarine. Beat in sour cream, both cans of corn and muffin mix. Mix thoroughly. Put in a baking dish and bake for 1 hour.