开发者

ASP.NET MVC action methods [duplicate]

开发者 https://www.devze.com 2022-12-12 14:50 出处:网络
This question already has answers here: Closed 13 years ago. Possible Duplicate: How do you RedirectToAction开发者_运维百科 using POST instead of GET?
This question already has answers here: Closed 13 years ago.

Possible Duplicate:

How do you RedirectToAction开发者_运维百科 using POST instead of GET?

I have two versions of Index action in my controller, one for GET and another for POST. How can I use RedirectToAction method so that POST version of Index action is called? Normal RedirectToAction("Index") calls the GET version.


How do you redirect to a page using the POST verb?

0

精彩评论

暂无评论...
验证码 换一张
取 消