I have 2 layouts ( LayoutPrincipal.cshtml
and LayoutInterno.cshtml
) for the home page and another for the internal page. The inner page will repeat itself so I made the _ViewStart
that points to the inner page and to test the layout I created a controller
and change the page path in _viewStart
mas the question is, can not I get 2 _viewStart
and create 2 controller
pointing to them, does anyone know how it works in this case?