Grate carrots on a large grater, chop 1 piece of onion into a small cube. Fry the vegetables in vegetable oil. Add garlic passed through the press and onion grated on a large grater to the minced meat. Add salt and ground pepper. Knead the minced meat thoroughly.
Peel the potatoes and boil them in salted water. Drain the water, add the curry to the potatoes and mash the potatoes with a masher. Fry the minced meat in vegetable oil over high heat, stirring constantly and breaking the minced meat into small pieces with a fork. When almost all the liquid has evaporated, add the ketchup, stir and fry for another minute.
Grease the baking dish with vegetable oil and lay out half of the potatoes, leveling with a spoon. Top with the fried vegetables. Then a layer of minced meat.
Spread the remaining potatoes on the minced meat. Leveling up. Grease the potato layer with mayonnaise/sour cream using a silicone brush. Send the casserole to the oven for 15-20 minutes at 180 gr. then take out the form and put the cheese grated on a large grater on top, and send the casserole back to the oven for 5-10 minutes, until the cheese gets a Golden color and a delicious crust.