@inject Nop.Services.Common.IGenericAttributeService genericAttributeService @inject IWorkContext workContext @{ const string cardId = "bestsellers-report-amount-card"; const string hideCardAttributeName = "Reports.HideBestsellersBriefReportByAmountCard"; var hideCard = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideCardAttributeName); }

@T("Admin.Reports.Sales.BestSellers.ByAmount")