e.g. 3.2 Modifying the Controller to Render a View

This commit is contained in:
Jason Zhu 2021-07-13 23:42:07 +10:00
parent 6202658020
commit 77503472fa

View File

@ -8,9 +8,9 @@ namespace PartyInvites.Controllers
{
public class HomeController : Controller
{
public string Index()
public ActionResult Index()
{
return "Hello world";
return View();
}
public ActionResult About()