Bring water and salt to a boil in a medium saucepan. Add macaroni and boil for 12 minutes. Remove from heat and set aside, but do not drain.
In a large skillet, sauté onion and garlic in butter or olive oil for 2 minutes. Once onions are translucent add cooked macaroni with the water, tomato sauce, and bouillon and bring to a boil.
Turn off heat. Sprinkle cheese on top and cover