此代码的工作,可能有更好的方法来实现的事情,但我的问题是, 有没有经过任何这样的特定术语?(与匿名函数), 这是一个可以接受的做法? , 是针对标准吗? <?php
// suppose the only way i can retrieve the content is by using this function
//like wordpress equivalent of the_con
这可能很简单。我在我的控制器,两个动作: public ActionResult Index()
{
var m = new MyModel();
return View(m);
}
[HttpPost]
public ActionResult Confirm(MyModel model)
{
//do stuff
return View(mod