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).
This commit is contained in:
Tugberk Ugurlu 2016-08-29 22:12:04 +01:00 committed by Hao Kung
parent a2919e07b5
commit 4af4a434c5
2 changed files with 0 additions and 18 deletions

View File

@ -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();
}
}
}

View File

@ -22,8 +22,6 @@
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a asp-controller="Home" asp-action="Index">Home</a></li>
<li><a asp-controller="Home" asp-action="About">About</a></li>
<li><a asp-controller="Home" asp-action="Contact">Contact</a></li>
</ul>
@await Html.PartialAsync("_LoginPartial")
</div>