Thursday, August 8, 2013

use a view in another controller in ASP.NET MVC 4

...in this case HomeController:

public ActionResult Index()
{
   return View("../home/index");
}

No comments:

Post a Comment