how to use model.js code example
Example 1: access to model from js
var model = @Html.Raw(Json.Encode(Model));
Example 2: model to js
var objModel =@Html.Raw(Json.Serialize(Model));
var model = @Html.Raw(Json.Encode(Model));
var objModel =@Html.Raw(Json.Serialize(Model));