I am having data in Map which is like:
Map<string, List<string>> mapRecord = new Map<string,List<string>>();
In key I am storing the account name and in value i have List of string. i need to convert the key value from account name to account id in this map later . means i need to create a new map with same values but this time key should be account id instead of account name
Map<id, List<string>> mapRecord = new Map<id,List<string>>();
please provide any help.