By using “ActionLink” method (in Razor) as shown in the below code. The below code will create a simple URL which help to navigate to the “Home” controller and invoke the “GoHome” action.
@Html.ActionLink("Home","Gohome")
@Html.ActionLink("Home","Gohome")
No comments:
Post a Comment