C#C
C#3y ago
9 replies
Gipper

ASP.NET How to create button to view under another controller?

What the title says. From a view under the Publicacoes controller I want to call another view under the Grupos controller. Currently I have this:
<a href="@Url.Action("Create", "GrupoController")">Criar grupo</a>

But it still says page can't be found. I have also tried:
<a href="@Url.Action("Create", "Grupo")">Criar grupo</a>

Also, to no effect. Help?
Was this page helpful?