将视图写在这里即可:return View(“index2”);如果return View(),即为:return View(“index”)
public ActionResult Index()
{
return View("index2");
}
将视图写在这里即可:return View(“index2”);如果return View(),即为:return View(“index”)
public ActionResult Index()
{
return View("index2");
}