From 4af4a434c563bc89064b18ff6867fb52d6bfd7d6 Mon Sep 17 00:00:00 2001 From: Tugberk Ugurlu Date: Mon, 29 Aug 2016 22:12:04 +0100 Subject: [PATCH] remove About and Contact links from the sample Their corresponding views are missing and when clicked, it gives 404. Not sure if removing is OK (seems so). --- .../Controllers/HomeController.cs | 16 ---------------- .../Views/Shared/_Layout.cshtml | 2 -- 2 files changed, 18 deletions(-) diff --git a/samples/IdentitySample.Mvc/Controllers/HomeController.cs b/samples/IdentitySample.Mvc/Controllers/HomeController.cs index e9c45b37a6..b98b2869ec 100644 --- a/samples/IdentitySample.Mvc/Controllers/HomeController.cs +++ b/samples/IdentitySample.Mvc/Controllers/HomeController.cs @@ -9,21 +9,5 @@ namespace IdentitySample.Controllers { return View(); } - - [HttpGet] - public IActionResult About() - { - ViewBag.Message = "Your app description page."; - - return View(); - } - - [HttpGet] - public IActionResult Contact() - { - ViewBag.Message = "Your contact page."; - - return View(); - } } } \ No newline at end of file diff --git a/samples/IdentitySample.Mvc/Views/Shared/_Layout.cshtml b/samples/IdentitySample.Mvc/Views/Shared/_Layout.cshtml index 912a38b7a3..c17782f2bb 100644 --- a/samples/IdentitySample.Mvc/Views/Shared/_Layout.cshtml +++ b/samples/IdentitySample.Mvc/Views/Shared/_Layout.cshtml @@ -22,8 +22,6 @@