e.g. 3.2 Modifying the Controller to Render a View
parent
6202658020
commit
77503472fa
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue