è¿ä¸ªç®åå
å¨contralloræ¹æ³å¤´å ä¸å称就è¡äºã
ä¸è¬çaction
[HttpGet]
public ActionResult Index()
{
Return View()
}
[HttpPost]
public ActionResult Index(string id)
{
Return View()
}
åæ¶æ¯ægetåpostçaction
[ActionName("Index")]
public ActionResult Get()
{
Return View()
}
[ActionName("Index")]
public ActionResult Post()
{
Return View()
}