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

chap3
Jason Zhu 2021-07-13 23:42:07 +10:00
parent 6202658020
commit 77503472fa
1 changed files with 2 additions and 2 deletions

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()