how to pass id from view to controller in asp.net core

78

how to pass id from view to controller in asp.net core -

@Html.ActionLink("Display File Contents", "DisplayUploadedFileContents", new { id = item.UploadId })

Comments

Submit
0 Comments