Which two actions should you perform?

You are implementing an ASP. NET MVC 2 Web application.
You add a controller named CompanyController.
You need to modify the application to handle the URL path /company/info.
Which two actions should you perform? (Each correctanswer presents part of the solution. Choose two.)

You are implementing an ASP. NET MVC 2 Web application.
You add a controller named CompanyController.
You need to modify the application to handle the URL path /company/info.
Which two actions should you perform? (Each correctanswer presents part of the solution. Choose two.)

A.
Add the following method to the CompanyControllerclass.
public ActionResult info()
{
return View();
}

B.
Add the following method to the CompanyControllerclass.
public ActionResult Company_Info()
{
return View();
}

C.
Right-click the Views folder, and select View from the Add submenu to create the view for the action.

D.
Right-click inside the action method in the CompanyController class, and select Add View to create aview
for the action.



Leave a Reply 0

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