PrepAway - Latest Free Exam Questions & Answers

How should you implement the view?

DRAG DROP
You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog \GetLog.
cshtml to display the runner’s average mile pace. How should you implement the view? (To answer, drag the
appropriate code segments to the correct location or locations. Each code segment may be used once, more
than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

PrepAway - Latest Free Exam Questions & Answers

A.
@Html.Partial(

B.
“_CalculatePace”, log)

C.
@Html.Action(

D.
“_CalculatePace”)

Explanation:

10 Comments on “How should you implement the view?

    1. kaggelpiep says:

      This is wrong. Test it in code yourself, it will give an error that the view cannot be found if you specify it without the .cshtml extension.

      @Html.Partial(“_calculatepace.cshtml”, log) is right.




      0



      0

Leave a Reply