appTypeMap = allApplicationTypes.ToDictionary(x => x.id, x => x.name);
However, it will create a new dictionary, not fill yours.
appTypeMap = allApplicationTypes.ToDictionary(x => x.id, x => x.name);
However, it will create a new dictionary, not fill yours.