public void StoreAll(IEnumerable <ApiKey> apiKeys) { List <JarsApiKey> jarsKeys = new List <JarsApiKey>(); foreach (var key in apiKeys) { jarsKeys.Add(key.ConvertTo <JarsApiKey>()); } ApiKeyRepository.CreateUpdateList(jarsKeys, "AUTH"); }
public void StoreAll(IEnumerable <ApiKey> apiKeys) { List <JarsApiKey> jarsKeys = new List <JarsApiKey>(); foreach (var key in apiKeys) { jarsKeys.Add(key.ConvertTo <JarsApiKey>()); } ApiKeyRepository.CreateUpdateList(jarsKeys, "AUTH"); }