summaryrefslogtreecommitdiffstats
path: root/projecttemplates/MvcRelyingParty/Controllers/HomeController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Controllers/HomeController.cs')
-rw-r--r--projecttemplates/MvcRelyingParty/Controllers/HomeController.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/projecttemplates/MvcRelyingParty/Controllers/HomeController.cs b/projecttemplates/MvcRelyingParty/Controllers/HomeController.cs
new file mode 100644
index 0000000..415bfe1
--- /dev/null
+++ b/projecttemplates/MvcRelyingParty/Controllers/HomeController.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+
+namespace MvcRelyingParty.Controllers {
+ [HandleError]
+ public class HomeController : Controller {
+ public ActionResult Index() {
+ ViewData["Message"] = "Welcome to ASP.NET MVC!";
+
+ return View();
+ }
+
+ public ActionResult About() {
+ return View();
+ }
+ }
+}