In a pan add salt, olive oil, chopped onion and garlic, bring to the fire to sauté, right after add the shrimp and black pepper mix well so the shrimp are very red.
When the shrimp is ready add the tomato sauce and the corn mix well and let it cook a little longer. Remove from heat and set aside.
In another pan with water, cook the pasta, when it is ready, drain it and place the shrimp sauce in the pan, mix everything and serve.