@using(Html.BeginForm("Action", "Controller", FormMethod.Get)
{
@Html.TextBoxFor(model=>model.Id)
<input type="submit" value="Search" />
}
1-When we click On Submit Button this will Create Url Like this
http://localhost:53734/Controller/Action?id=10
//10 is input From Textbox
I want to encrypt Id parameter like http://localhost:53734/Controller/Action?id=encrypted Value Of 10