From 379a4f1e4694865da636a32cf266c8f44aadf869 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Wed, 14 Jul 2021 00:03:04 +1000 Subject: [PATCH] e.g. 3.9 Adding a New Action Method to the Controller --- .../PartyInvites/Controllers/HomeController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chap3_your_first_mvc_app/PartyInvites/Controllers/HomeController.cs b/chap3_your_first_mvc_app/PartyInvites/Controllers/HomeController.cs index 106c868..2dcb141 100644 --- a/chap3_your_first_mvc_app/PartyInvites/Controllers/HomeController.cs +++ b/chap3_your_first_mvc_app/PartyInvites/Controllers/HomeController.cs @@ -26,5 +26,10 @@ namespace PartyInvites.Controllers ViewBag.Message = "Your contact page."; return View(); } + + public ActionResult RsvpForm() + { + return View(); + } } } \ No newline at end of file