How do I convert a textbox type to password in asp.net mvc?
In .cshtml file:
@Html.PasswordFor(modal => modal.Password)