ASP.NET MVC Page not render when specify action
<p>I'm having the following problem in my application.
When access a view, specifying only the controller, the entire layout of the master page is rendered correctly:
Eg: 
localhost:50904/Contact</p>

<p><a href="https://i.stack.imgur.com/IMHVC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IMHVC.png" alt="enter image description here"></a></p>

<p>But when I specify the action, the layout of the master page is not rendered:
Eg: 
localhost:50904/Contact/Index
localhost:50904/Contact/Success</p>

<p><a href="https://i.stack.imgur.com/QXevp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QXevp.png" alt="enter image description here"></a></p>

<p>I checked the HTML generated in both cases, and the generated HTML is correct. What can I be doing wrong?</p>