private async Task <List <ConfigurationItem> > GetConfigurations()
        {
            return(await Task.Factory.StartNew(() =>
            {
                CrmServiceClient crmService = GetCrmService(SelectedSourceConnection);
                List <ConfigurationItem> configurationItems = _configurationRepository.GetConfigurations(crmService);


                return configurationItems;
            }));
        }
Esempio n. 2
0
 private List <Configuration> GetConfigurationList()
 {
     return(ConfigurationRepository.GetConfigurations());
 }