You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual
Studio .NET 2010 as its application development platform. You are creating an ASP.NET MVC 2 Web
application using .NET Framework 4.0. You add a controller named MVC2Controller to the MVC 2
application. You are required to modify the MVC 2 application to manage the URL path
/company/info. What will you do? (Each correct answer represents a part of the solution. Choose
two.)
A.
Right-dick the Views folder, and select View from the Add sub-menu to create the view for the
action.
B.
Add the following method to MVC2Controller:
public ActionResult InfoController()
{
return View();
}
C.
Right-dick within the action method in MVC2Controller, and select Add View to create a view for
the action.
D.
Add the following method to MVC2Controller:
public ActionResult Info()
{
return View();
}
E.
Add the following method to MVC2Controller:
public ActionResult Company_Info()
{
return View();
}