移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

多选题

You are implementing an ASP.NET MVC 2 Web application. A controller contains the following code. The first Edit action displays the user whose details are to be edited, and the second Edit action is called when the Save button on the editing form is clicked to update the user details. An exception is thrown at run time stating that the request for action Edit is ambiguous. You need to correct this error and ensure that the controller functions as expected.What are two possible ways to achieve this goal?()

发布日期:2021-01-28

You are implementing an ASP.NET MVC 2 Web applicat...
A

Add the following attribute to the first Edit action.  [AcceptVerbs(HttpVerbs.Head)]

B

Add the following attribute to the first Edit action.  [HttpGet]

C

Add the following attribute to the second Edit action.  [HttpPost]

D

Add the following attribute to the second Edit action. [HttpPut]

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

CMS专题

CMS专题

去刷题
热门试题热门资讯 相关试题

暂无相关推荐~