Modelo de aprobación de vista MVC a la función JavaScript
//Get your view model from js
var dto = @Html.Raw(Json.Encode(Model));
Crowded Caribou
//Get your view model from js
var dto = @Html.Raw(Json.Encode(Model));