Drain the canned corn in a sieve to remove excess moisture.
Melt butter in a pan.
Add the corn and stir-fry over medium heat.
Add mayonnaise, sugar, and salt, and mix well.
Evenly top with mozzarella cheese.
Cook over low heat until the cheese melts.
Finish by sprinkling parsley flakes.