I'm fairly new to asp.net mvc3 and I am having a hard time figuring this out. I have an actionlink which i want to include a parameter and pass to my Index Method
@Html.ActionLink("Click here", "Index", "Customer", new { customerid = item.custId}, new { @class = "partiallink" })
How do i receive it from the controller? considering that there is no method parameter in my Index Action method and also how do I output the parameter in the view?
I guess what I'm trying to say is pass it to some controller method and still returns the Index page with the paramters