- @Html.ActionLink("Edit", "Edit", new { id = Model.AlbumId }) | - @Html.ActionLink("Back to List", "Index") -
\ No newline at end of file diff --git a/src/MusicStore/samples/MusicStore/Areas/Admin/Views/StoreManager/Edit.cshtml b/src/MusicStore/samples/MusicStore/Areas/Admin/Views/StoreManager/Edit.cshtml deleted file mode 100644 index 3e9def0bfb2c..000000000000 --- a/src/MusicStore/samples/MusicStore/Areas/Admin/Views/StoreManager/Edit.cshtml +++ /dev/null @@ -1,76 +0,0 @@ -@model MusicStore.Models.Album - -@{ - ViewBag.Title = "Edit"; -} - -- @Html.ActionLink("Create New", "Create") -
-- @Html.DisplayNameFor(model => model.Genre.Name) - | -- @Html.DisplayNameFor(model => model.FirstOrDefault().Artist.Name) - | -- @Html.DisplayNameFor(model => model.FirstOrDefault().Title) - | -- @Html.DisplayNameFor(model => model.FirstOrDefault().Price) - | -- |
---|---|---|---|---|
- @Html.DisplayFor(modelItem => item.Genre.Name) - | -
- @if (item.Artist.Name.Length <= 25)
- {
- @item.Artist.Name
- }
- else
- {
- @item.Artist.Name.Substring(0, 25) |
-
- @if (item.Title.Length <= 25)
- {
- @item.Title
- }
- else
- {
- @item.Title.Substring(0, 25) |
- - @Html.DisplayFor(modelItem => item.Price) - | -- @Html.ActionLink("Edit", "Edit", new { id = item.AlbumId }) | - @Html.ActionLink("Details", "Details", new { id = item.AlbumId }) | - @Html.ActionLink("Delete", "RemoveAlbum", new { id = item.AlbumId }) - | -
- Are you sure you want to delete the album titled - @Model.Title? -
- - @using (Html.BeginForm()) - { -- -
-- @Html.ActionLink("Back to List", "Index") -
- } -} -else -{ - @Html.Label(null, "Unable to locate the album") -} \ No newline at end of file diff --git a/src/MusicStore/samples/MusicStore/Areas/Admin/Views/_ViewStart.cshtml b/src/MusicStore/samples/MusicStore/Areas/Admin/Views/_ViewStart.cshtml deleted file mode 100644 index ab23e9a239d5..000000000000 --- a/src/MusicStore/samples/MusicStore/Areas/Admin/Views/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "/Views/Shared/_Layout.cshtml"; -} \ No newline at end of file diff --git a/src/MusicStore/samples/MusicStore/Components/CartSummaryComponent.cs b/src/MusicStore/samples/MusicStore/Components/CartSummaryComponent.cs deleted file mode 100644 index f2917af956b5..000000000000 --- a/src/MusicStore/samples/MusicStore/Components/CartSummaryComponent.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using MusicStore.Models; - -namespace MusicStore.Components -{ - [ViewComponent(Name = "CartSummary")] - public class CartSummaryComponent : ViewComponent - { - public CartSummaryComponent(MusicStoreContext dbContext) - { - DbContext = dbContext; - } - - private MusicStoreContext DbContext { get; } - - public async Task- Thank you for confirming your email. Please Click here to Log in. -
-- Please check your email to reset your password. -
-- For demo purpose only: Click here to reset the password -
-- Please check your email to activate your account. -
-- Demo/testing purposes only: The sample displays the code and user id in the page: Click here to confirm your email: -
-- Your password has been reset. Please Click here to log in. -
-- There are no external authentication services configured. See this article - for details on setting up this ASP.NET application to support logging in via external services. -
-Thanks for your order! Your order number is: @Model
- -- How about shopping for some more music in our - Store -
\ No newline at end of file diff --git a/src/MusicStore/samples/MusicStore/Views/Home/Index.cshtml b/src/MusicStore/samples/MusicStore/Views/Home/Index.cshtml deleted file mode 100644 index b22793a9d3a5..000000000000 --- a/src/MusicStore/samples/MusicStore/Views/Home/Index.cshtml +++ /dev/null @@ -1,21 +0,0 @@ -@inject IOptions@ViewData["StatusMessage"]
- -- Phone Numbers can used as a second factor of verification in two-factor authentication. - See this article - for details on setting up this ASP.NET application to support two-factor authentication using SMS. -
- @*@(Model.PhoneNumber ?? "None") - @if (Model.PhoneNumber != null) - { -- There are no two-factor authentication providers configured. See this article - for setting up this application to support two-factor authentication. -
- @*@if (Model.TwoFactor) - { - - } - else - { - - }*@ -@ViewBag.StatusMessage
-@if (Model.CurrentLogins.Count > 0) -{ -@account.LoginProvider | -- @if (ViewBag.ShowRemoveButton) - { - - } - else - { - @: - } - | -
- You do not have a local username/password for this site. Add a local - account so you can log in without an external login. -
- - - -@section Scripts { - @{await Html.RenderPartialAsync("_ValidationScriptsPartial"); } -} \ No newline at end of file diff --git a/src/MusicStore/samples/MusicStore/Views/Manage/VerifyPhoneNumber.cshtml b/src/MusicStore/samples/MusicStore/Views/Manage/VerifyPhoneNumber.cshtml deleted file mode 100644 index 55d0625a6135..000000000000 --- a/src/MusicStore/samples/MusicStore/Views/Manage/VerifyPhoneNumber.cshtml +++ /dev/null @@ -1,34 +0,0 @@ -@model VerifyPhoneNumberViewModel -@{ - ViewBag.Title = "Verify Phone Number"; -} - -- Demo link display page - Not for production use. -
- - @if (ViewBag.Link != null) - { -
- For DEMO only: You can click this link to confirm the email: [[link]]
-
- Please change this code to register an email service in IdentityConfig to send an email.
-
- Album Name - | -- Price (each) - | -- Quantity - | -- |
---|---|---|---|
- @item.Album.Title - | -- @item.Album.Price - | -- @item.Count - | -- - Remove from cart - - | -
- Total - | -- | - | - @Model.CartTotal - | -
-
-
- Genre: - @Model.Genre.Name -
-- Artist: - @Model.Artist.Name -
-- Price: - -
- -- Select from @Model.Count() genres: -
-