Exemplo n.º 1
0
        public async Task <bool> CallSourcesAndPopulateStorage()
        {
            try
            {
                SoundCloudClient soundCloudClient = new SoundCloudClient(connectionString);
                await soundCloudClient.GetDataAndWriteResult();

                GitHubClient gitHubClient = new GitHubClient(connectionString);
                await gitHubClient.GetDataAndWriteResult();

                StoryblokClient storyblockClient = new StoryblokClient(connectionString);
                await storyblockClient.GetDataAndWriteResult();

                return(true);
            }
            catch (Exception ex)
            {
                return(false);
            }
        }