1) separate the legs from the hats;
2) finely chop the legs and onions;
3) add salt and pepper;
4) fry in vegetable oil;
5) we fill with the resulting mass of the cap;
6) lay out the mayonnaise;
7) sprinkle with grated cheese on top;
8) bake for 45 minutes at 180 degrees.