Removed all the unused directives in the Solution with the assistance of Resharper

This commit is contained in:
Hemant Kumar Dundigalla
2018-10-06 23:21:15 +01:00
parent 1b5b179c7f
commit 6299d5ccc7
36 changed files with 18 additions and 74 deletions

View File

@@ -1,4 +1,3 @@
@using Microsoft.eShopWeb.Web.ViewModels.Account
@model LoginWith2faViewModel
@{
ViewData["Title"] = "Two-factor authentication";

View File

@@ -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";

View File

@@ -1,4 +1,3 @@
@using Microsoft.eShopWeb.Web.ViewModels.Account
@model LoginViewModel
@{
ViewData["Title"] = "Log in";

View File

@@ -1,5 +1,4 @@
@using Microsoft.eShopWeb.Web.ViewModels
@{
@{
ViewData["Title"] = "Checkout Complete";
@model BasketViewModel
}

View File

@@ -1,5 +1,4 @@
@using Microsoft.eShopWeb.Web.ViewModels
@model BasketViewModel
@model BasketViewModel
@{
ViewData["Title"] = "Basket";
}

View File

@@ -1,5 +1,4 @@
@using Microsoft.eShopWeb.Web.ViewModels
@model OrderViewModel
@model OrderViewModel
@{
ViewData["Title"] = "My Order History";
}

View File

@@ -1,5 +1,4 @@
@using Microsoft.eShopWeb.Web.ViewModels
@model IEnumerable<OrderViewModel>
@model IEnumerable<OrderViewModel>
@{
ViewData["Title"] = "My Order History";
}

View File

@@ -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">