Exemple #1
0
        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");
        }