For the sauce, peel garlic and chop finely. Heat 1 tablespoon of oil. Fry garlic, chili flakes, cumin and oregano briefly in it. Sweat tomato paste with. Deglaze with 400 ml water and tomatoes.
Stir in broth. Chop the tomatoes with a spatula. Season with salt, pepper and 1 tsp. sugar. Simmer the sauce for about 10 minutes.
Put the corn and beans in a sieve, rinse briefly and drain well. Heat 1 tablespoon of oil in a large frying pan. Chop in it while stirring approx.
Fry for 8 minutes until crumbly. Take off approx. 200 ml of tomato sauce and put aside. Mix the rest of the sauce, corn and beans with the mince. Season sauce and minced meat mix with salt and pepper.
Preheat oven (electric cooker: 200 °C/circulating air: 175 °C/gas: see manufacturer). Grate cheese. Line a large casserole dish (approx. 4 l capacity) with 4 wheat patties, slightly overlapping. 1⁄3 Spread the chopped mass on top.
Sprinkle with 1⁄4 cheese, cover with 4 flat cakes. Repeat two layers until the mince is used up. Finish with the pancake. Spread the tomato sauce that has been set aside. Sprinkle with the remaining cheese.
Cover with foil. Bake in a hot oven for about 40 minutes. Remove foil after about 20 minutes. Cut avocados in half lengthwise, remove the seeds. Remove the flesh and dice finely. Sprinkle with lime juice.
Wash the coriander and shake dry. Remove the casserole. Serve sprinkled with avocado and coriander. Sour cream tastes good with it.