From dd100f643cd4c12776d73e6da78d53996bda5362 Mon Sep 17 00:00:00 2001 From: IgorSychev Date: Thu, 22 Jun 2017 14:10:34 +0300 Subject: [PATCH] we are not using identityparser in AccountController. we can drop it from a constructor --- src/Web/WebMVC/Controllers/AccountController.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Web/WebMVC/Controllers/AccountController.cs b/src/Web/WebMVC/Controllers/AccountController.cs index a38207d58..ff337a566 100644 --- a/src/Web/WebMVC/Controllers/AccountController.cs +++ b/src/Web/WebMVC/Controllers/AccountController.cs @@ -1,8 +1,6 @@ using System.Security.Claims; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using Microsoft.eShopOnContainers.WebMVC.ViewModels; -using Microsoft.eShopOnContainers.WebMVC.Services; using Microsoft.AspNetCore.Http.Authentication; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; @@ -12,10 +10,6 @@ namespace Microsoft.eShopOnContainers.WebMVC.Controllers [Authorize] public class AccountController : Controller { - private readonly IIdentityParser _identityParser; - public AccountController(IIdentityParser identityParser) => - _identityParser = identityParser; - public ActionResult Index() => View(); [Authorize]