I'm using Action Link on my view and then it clicked it needs to go update view with Id.But it shows me the Length.
View
@Html.ActionLink("Update", "UpdateEmployee","Employee", new { id = item.EmpId })
When i click it it shows me the URL ,
http://localhost:7631/Employee/UpdateEmployee?Length=8
Because Length 8 is wrong and corret way is
http://localhost:7631/Employee/UpdateEmployee/1