Peel, wash and slice the potatoes. Cook in boiling salted water for about 20 minutes. Peel onion and chop roughly. Heat the oil in a large pot. Fry the minced meat in it until crumbly.
Add onion and fry briefly. Add tomato paste and chili and stir-fry. Deglaze with 350 ml water and tomatoes. Bring to the boil, season with salt and pepper, simmer for 15-20 minutes. Clean, wash and cut the peppers into strips. Put corn and beans on a sieve, rinse and drain. Drain potatoes and let them drain. 5 minutes before the end of the cooking time, add the beans, corn and peppers to the mince and finish cooking. Season chillies with salt, pepper and sugar. Layer potatoes and chillies in an ovenproof dish. Mix sour cream with 50 g cheese.
Drain potatoes and let them drain. 5 minutes before the end of the cooking time, add the beans, corn and peppers to the mince and finish cooking. Season chillies with salt, pepper and sugar. Layer potatoes and chillies in an ovenproof dish. Mix sour cream with 50 g cheese. Spread as a blob on the casserole. Sprinkle with 25 g cheese. Bake in the preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for 15-20 minutes