@using Microsoft.AspNetCore.Identity @using Microsoft.eShopOnContainers.WebMVC.ViewModels @using Microsoft.eShopOnContainers.WebMVC.Services @inject IIdentityParser UserManager @*@if (Context.User.Identity.IsAuthenticated)*@ @if (User.FindFirst(x => x.Type == "preferred_username") != null) {
@await Component.InvokeAsync("Cart", new { user = UserManager.Parse(User) })
} else {
}