Skip to content

Commit dd100f6

Browse files
IgorSychevIgor Sychev
authored andcommitted
we are not using identityparser in AccountController. we can drop it from a constructor
1 parent 09dfd9a commit dd100f6

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/Web/WebMVC/Controllers/AccountController.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
using System.Security.Claims;
22
using Microsoft.AspNetCore.Authorization;
33
using Microsoft.AspNetCore.Mvc;
4-
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
5-
using Microsoft.eShopOnContainers.WebMVC.Services;
64
using Microsoft.AspNetCore.Http.Authentication;
75
using System.Threading.Tasks;
86
using Microsoft.AspNetCore.Authentication;
@@ -12,10 +10,6 @@ namespace Microsoft.eShopOnContainers.WebMVC.Controllers
1210
[Authorize]
1311
public class AccountController : Controller
1412
{
15-
private readonly IIdentityParser<ApplicationUser> _identityParser;
16-
public AccountController(IIdentityParser<ApplicationUser> identityParser) =>
17-
_identityParser = identityParser;
18-
1913
public ActionResult Index() => View();
2014

2115
[Authorize]

0 commit comments

Comments
 (0)