e.g. 3.2 Modifying the Controller to Render a View
This commit is contained in:
parent
6202658020
commit
77503472fa
@ -8,9 +8,9 @@ namespace PartyInvites.Controllers
|
|||||||
{
|
{
|
||||||
public class HomeController : Controller
|
public class HomeController : Controller
|
||||||
{
|
{
|
||||||
public string Index()
|
public ActionResult Index()
|
||||||
{
|
{
|
||||||
return "Hello world";
|
return View();
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActionResult About()
|
public ActionResult About()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user