File tree 5 files changed +8
-8
lines changed
src/MusicStore/Views/Shared 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5
5
<li >
6
6
<br />
7
7
<small ><i ><label title =" New Arrivals!" style =" color :red " >New Arrivals ! </label ></i ></small >
8
- <i ><a id =" NewArrivalsPanel" asp-controller =" Store" asp-action =" Details" asp-route-id =" @Model.AlbumId" >@Model.Title </a ></i >
8
+ <i ><a id =" NewArrivalsPanel" asp-area = " " asp- controller =" Store" asp-action =" Details" asp-route-id =" @Model.AlbumId" >@Model.Title </a ></i >
9
9
</li >
10
10
}
Original file line number Diff line number Diff line change 1
1
@if (ViewBag .CartCount > 0 )
2
2
{
3
3
<li >
4
- <a asp-controller =" ShoppingCart" asp-action =" Index" title =" @ViewBag.CartSummary" >
4
+ <a asp-area = " " asp- controller =" ShoppingCart" asp-action =" Index" title =" @ViewBag.CartSummary" >
5
5
<span class =" glyphicon glyphicon-shopping-cart" ></span >
6
6
<span id =" cart-status" >
7
7
@ViewBag.CartCount
Original file line number Diff line number Diff line change 1
1
@model IEnumerable <string >
2
2
3
3
<li class =" dropdown" >
4
- <a asp-controller =" Store" asp-action =" Index" class =" dropdown-toggle" data-toggle =" dropdown" >Store <b class =" caret" ></b ></a >
4
+ <a asp-area = " " asp- controller =" Store" asp-action =" Index" class =" dropdown-toggle" data-toggle =" dropdown" >Store <b class =" caret" ></b ></a >
5
5
<ul class =" dropdown-menu" >
6
6
@foreach ( var genreName in Model )
7
7
{
8
8
<li >
9
- <a asp-controller =" Store" asp-action =" Browse" asp-route-Genre =" @genreName" >@genreName </a >
9
+ <a asp-area = " " asp- controller =" Store" asp-action =" Browse" asp-route-Genre =" @genreName" >@genreName </a >
10
10
</li >
11
11
}
12
12
<li class =" divider" ></li >
Original file line number Diff line number Diff line change 33
33
<span class =" icon-bar" ></span >
34
34
<span class =" icon-bar" ></span >
35
35
</button >
36
- <a asp-controller =" Home" asp-action =" Index" class =" navbar-brand" >@AppSettings.Value.SiteTitle </a >
36
+ <a asp-area = " " asp- controller =" Home" asp-action =" Index" class =" navbar-brand" >@AppSettings.Value.SiteTitle </a >
37
37
</div >
38
38
<div class =" navbar-collapse collapse" >
39
39
<ul class =" nav navbar-nav" >
40
- <li ><a asp-controller =" Home" asp-action =" Index" >Home</a ></li >
40
+ <li ><a asp-area = " " asp- controller =" Home" asp-action =" Index" >Home</a ></li >
41
41
@await Component.InvokeAsync("GenreMenu")
42
42
@await Component.InvokeAsync("CartSummary")
43
43
</ul >
Original file line number Diff line number Diff line change 6
6
7
7
@if (SignInManager .IsSignedIn (User ))
8
8
{
9
- <form asp-controller =" Account" asp-action =" LogOff" method =" post" id =" logoutForm" class =" navbar-right" >
9
+ <form asp-area = " " asp- controller =" Account" asp-action =" LogOff" method =" post" id =" logoutForm" class =" navbar-right" >
10
10
<ul class =" nav navbar-nav navbar-right" >
11
11
<li >
12
- <a asp-controller =" Manage" asp-action =" Index" title =" Manage" >Hello @UserManager.GetUserName(User) ! </a >
12
+ <a asp-area = " " asp- controller =" Manage" asp-action =" Index" title =" Manage" >Hello @UserManager.GetUserName(User) ! </a >
13
13
</li >
14
14
<li ><a href =" javascript:document.getElementById('logoutForm').submit()" >Log off </a ></li >
15
15
</ul >
You can’t perform that action at this time.
0 commit comments