@model CountryModel @{ const string hideInfoBlockAttributeName = "CountryPage.HideInfoBlock"; var customer = await workContext.GetCurrentCustomerAsync(); var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName); const string hideStatesBlockAttributeName = "CountryPage.HideStatesBlock"; var hideStatesBlock = await genericAttributeService.GetAttributeAsync(customer, hideStatesBlockAttributeName, defaultValue: true); }
@await Html.PartialAsync("_CreateOrUpdate.Info", Model) @await Html.PartialAsync("_CreateOrUpdate.States", Model) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.CountryDetailsBlock, additionalData = Model })