
In a large skillet over medium to low heat, add the vegetable oil and let it heat up.
Add the ground beef in a cylindrical shape with the garlic cloves, cut into smaller pieces and fry until golden brown.
Remove from the skillet and set aside.
In a medium bowl, add the finely diced tomatoes, the mushrooms cut into smaller pieces, the grated mozzarella cheese and the mayonnaise.
Season with the salt, the black pepper and mix everything very well until fully combined.
In a large baking tray, add the onions cut into rings, covering the entire bottom.
Cover the onions with the potatoes cut into thin slices.
Season with salt and black pepper.
Add the mixture we prepared and spread it evenly.
Next, add all the meat patties we cooked.
Then, place a slice of cheddar cheese on top of each one and the grated mozzarella cheese over everything.
Place in a preheated oven at 180° C (350° F) and bake for 35 minutes.
Serve.