Removed all the unused directives in the Solution with the assistance of Resharper
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
@using Microsoft.eShopWeb.Web.ViewModels.Account
|
||||
@model LoginWith2faViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Two-factor authentication";
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
@using System.Collections.Generic
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@using Microsoft.AspNetCore.Http.Authentication
|
||||
@using Microsoft.eShopWeb.Web.ViewModels.Account
|
||||
@model RegisterViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Register";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
@using Microsoft.eShopWeb.Web.ViewModels.Account
|
||||
@model LoginViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Log in";
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@using Microsoft.eShopWeb.Web.ViewModels
|
||||
@{
|
||||
@{
|
||||
ViewData["Title"] = "Checkout Complete";
|
||||
@model BasketViewModel
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@using Microsoft.eShopWeb.Web.ViewModels
|
||||
@model BasketViewModel
|
||||
@model BasketViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Basket";
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@using Microsoft.eShopWeb.Web.ViewModels
|
||||
@model OrderViewModel
|
||||
@model OrderViewModel
|
||||
@{
|
||||
ViewData["Title"] = "My Order History";
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@using Microsoft.eShopWeb.Web.ViewModels
|
||||
@model IEnumerable<OrderViewModel>
|
||||
@model IEnumerable<OrderViewModel>
|
||||
@{
|
||||
ViewData["Title"] = "My Order History";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
@using Microsoft.AspNetCore.Identity
|
||||
|
||||
@if (Context.User.Identity.IsAuthenticated)
|
||||
@if (Context.User.Identity.IsAuthenticated)
|
||||
{
|
||||
<section class="col-lg-4 col-md-5 col-xs-12">
|
||||
<div class="esh-identity">
|
||||
|
||||
Reference in New Issue
Block a user