string catValue = "";
try
{
catId = Convert.ToInt32(doc.XPathSelectElement("//ProductAttribute[@ID='1']/ProductAttributeValue/Value").Value);
catValue = $"{_productAttributeService.GetProductAttributeValueById(catId).Name}";
}
catch { }
string catValue = "";
try
{
catId = Convert.ToInt32(doc.XPathSelectElement("//ProductAttribute[@ID='1']/ProductAttributeValue/Value").Value);
catValue = $"{_productAttributeService.GetProductAttributeValueById(catId).Name}";
}
catch { }
var productAttributeValue = _productAttributeService.GetProductAttributeValueById(attributeValueId);
var name = _localizationService.GetLocalized(productAttributeValue, x => x.Name, lang.Id, false, false);
Error CS1501 No overload for method 'GetLocalized' takes 5 arguments