I am using nop 3.3.
In Nop.Services.Messages.WorkflowMessageService, there is a method called GetEmailAccountOfMessageTemplate() which has a line like this.
var emailAccounId = messageTemplate.GetLocalized(mt => mt.EmailAccountId, languageId);
Any reason why we do not just grab the id like this?
var emailAccountId = messageTemplate.EmailAccountId;
What was the purpose of getting a localized value on an ID? Just trying to understand the code, but it is picking up the wrong id every single time when we have multiple accounts in our multi tenant multi country environments.
Any help would be appreciated.