http://msdn.microsoft.com/en-us/library/system.web.mvc.httpdeleteattribute.aspx 表示一个属性,用于限制操作方法,以便该方法仅处理HTTP DELETE请求。什么是HttpDelete属性
但到底什么意思例如 的mvc
@Html.ActionLink("delete", new {id= model.PrimaryKey})//
那是一个删除请求?如何将浏览器的区别
控制器 之间@Html.ActionLink("gridDisplay", new {id= model.PrimaryKey})//
[HttpDelete] //what is this how does it know?
public action result delete()
{
delete();//web service deletes something just go with me here
}
public action result gridDisplay()
{
return view()
}