Can i create an action link to another controller and the action method takes a parameter?
the ordinary action link is:
@Html.ActionLink("Home", "Index", "Table1")
and if we have an actionlink to an action method inside the controller:
@Html.ActionLink("Edit", "Edit", new { id=item.ID })
Now what if i want to go to an action link to an action method inside another controller? What it will look like?
i.e. There is an action method Action1 that takes a parameter ParentID in the contoller Table2 How can i write an action link to this action method?