gnarz
ASP.NET help (Action link doesnt redirect me to wanted page)
@Html.ActionLink("Home", "Index", "Home", new { @class = "nav-link" })
@Html.ActionLink("About", "About", "Home", new { @class = "nav-link" })
@Html.ActionLink("Classes", "Classes", "Home", new { @class = "nav-link" })
@Html.ActionLink("Contact", "Contact", "Home", new { @class = "nav-link" })
@Html.ActionLink("Sign Up", "SignUp", "Home", new { @class = "nav-link" })
@Html.ActionLink("Equipment", "Index", "Opremas", new { @class = "nav-link" })
These are my actionlinks, they all work besides the last one, i believe its because it uses another controller. The last one was created as a migration so i could create a database for it, i can open that page through link, but if i do then i cant open the other pages 🤕 Is there any solution to this?
9 replies