mvc view pass model to javascript function

Solutions on MaxInterview for mvc view pass model to javascript function by the best coders in the world

showing results for - "mvc view pass model to javascript function"
Jacopo
04 Mar 2018
1//Get your view model from js
2var dto = @Html.Raw(Json.Encode(Model));