I am learning MVC and am using VB.net presently. I am trying to put a variable piece of data as the id of request to my controller with the ActionLink Helper but visual studio is preventing me from doing so. I thought the @curItem.scoutID was an expression, but the error I get when I hover over is "Expression expected". Thanks.
VB.NET:
@Html.ActionLink("Details", "Detail", New With {.id = @curItem.scoutID})