@Html.Raw(HttpUtility.HtmlDecode(Model.Id.ToString()))
「EditorTemplates」フォルダーに配置された Index.cshtml ファイルでは、常に 0 を返します。
私は何か間違ったことをしていますか
ページの上部でモデルを次のように定義しています
@model [Namespace].ViewModel
@Html.Raw(HttpUtility.HtmlDecode(Model.Id.ToString()))
「EditorTemplates」フォルダーに配置された Index.cshtml ファイルでは、常に 0 を返します。
私は何か間違ったことをしていますか
ページの上部でモデルを次のように定義しています
@model [Namespace].ViewModel