I have 2 tables tbl_client and tbl_branch linked with the client_id. I have created a ClientController and a BranchController.
Now I need to control the branch under client view. I have and ActionLink
@Html.ActionLink("Branch Management", "Index", "Branch", new {id = item.client_id},null)
This will redirect to Index view in branch controller, where the list of branches according to client id is filtered and return the view.
Now I have a create link in this view and I need to redirect it to the Create Page which will Create the Branch Under the Client currently active.