Cook macaroni in boiling salted water according to package instructions. Peel and finely dice onions. Knead half of the onions with minced meat, egg and breadcrumbs, season with salt and pepper.
Form little meatballs. Drain the noodles and let them drain. Clean, wash and cut leek into rings. Heat oil in a large pan. Fry the meatballs for about 5 minutes. Add the leek and fry briefly, remove.
Sauté the remaining onions in the frying fat. Add tomato paste and sweat briefly. Add tomatoes and herbs and simmer for about 5 minutes. Season to taste with salt, pepper and sugar. Mix the noodles with meatballs and leek and put into an ovenproof dish.
Pour gravy over it. Sprinkle cheese over it. Bake in the preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for 15-20 minutes.