Question: Code Example 2 - 1 public class HomeController : Controller { public IActionResult Index ( ) { ViewBag.Description = Gibson Les Paul; ViewBag.Price = 6

Code Example 2-1
public class HomeController : Controller
{
public IActionResult Index()
{
ViewBag.Description = "Gibson Les Paul";
ViewBag.Price =699.99;
return View();
}
}
Refer to Code Example 2-1. Which one of the following is an action of the HomeController class?
a. ViewBag
b. IActionResult
c. View()
d. Index()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!