更新时间:2021-11-28 15:06:17
像这样:
<p>
@Html.Action(MVC.MeetingActions.ListActions(Model.MeetingId))
</p>
,或者如果您坚持这样使用RenderAction
:
or if you insist on RenderAction
like this:
<p>
@{Html.RenderAction(MVC.MeetingActions.ListActions(Model.MeetingId));}
</p>
我个人更喜欢第一个,使击键次数减少.
Personally I prefer the first, makes fewer keystrokes.