AI OnAI Off
private void AddCurrencyToCatalogCurrencyDictionary(LanguageSetupInformation setup)
{
var currencyDto = CurrencyManager.GetCurrencyDto();
var newCurrencyRow = currencyDto.Currency.NewCurrencyRow();
newCurrencyRow.CurrencyCode = setup.Currency.CurrencyCode;
newCurrencyRow.Name = setup.CultureInfo.GetRegion().CurrencyEnglishName;
currencyDto.Currency.AddCurrencyRow(newCurrencyRow);
CurrencyManager.SaveCurrency(currencyDto);
}
Big thanks to Roger at Epi
Hi,
i want to add Currency to Catalog Currency Catalog programmatically. Because i want to enable it when adding new Market (also done from code)
![](/contentassets/ec8ee26840934c7dac12d00fb23e2ead/4ebfe098-0b8d-49a9-8298-6f3c9f100626.jpg)
I have found CurrencyManager but it does not feel right :-/
So what repo/service/Mgr should i use in order to add a currency to the Catalog Currency Directory?