Ejemplo n.º 1
0
        public async Task <ScampSubscription> GetAvailabeDeploymentSubscription()
        {
            //Need to add the logic of choosing a subscription.
            //For now is the first in the store
            var c = await _settingsRepository.GetSubscriptions();

            var selected = c.LastOrDefault();

            selected.AzureManagementThumbnail = await _keyRepository.GetSecret(selected.Id, "cert");

            return(selected);
        }