Which code segment should you use?

You are developing an ASP.NET MVC application that enables you to edit and save a student object.
The application must not retrieve student objects on an HTTP POST request.
You need to implement the controller.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all
that apply.)




You are developing an ASP.NET MVC application that enables you to edit and save a student object.
The application must not retrieve student objects on an HTTP POST request.
You need to implement the controller.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all
that apply.)




A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:

Examining the Details and Delete Methods
http://www.asp.net/mvc/overview/getting‐started/introduction/examining‐the‐details‐and‐delete‐
methods



Leave a Reply 8

Your email address will not be published. Required fields are marked *


Deno

Deno

B and c

wuhoga

wuhoga

Don’t confuse people. How is B correct here? A is correct one, not B. There is no such thing as “ActionName” in Request object. It’s gonna be null if you try to get the value from Request by “ActionName” key.

Waleed Khan

Waleed Khan

I agree with wuhoga

sac

sac

Without explanation in a fairly clear question dont post wrong answers please.
A and C are correct.

f

f

please remove Deno’s answer.