Exemplo n.º 1
0
        private static async Task ImportTeabags(DocumentClient documentDbClient, IImageRepository imageUploadService)
        {
            var(meerkens, thees) = await ImportFromAccess();

            var theesToImport    = thees.OrderBy(thee => thee.MainID).ToList();
            var meerkensToImport = meerkens.ToList();

            var bags = await DocumentDbImport.ImportBagsAsync(documentDbClient, imageUploadService, theesToImport, meerkensToImport);
        }
Exemplo n.º 2
0
 private static async Task ImportImagesAndUpdateTeabags(DocumentClient documentDbClient, ImageAzureBlobRepository imageUploadService)
 {
     var updateBags = await DocumentDbImport.UpdateBagsAsync(documentDbClient, imageUploadService);
 }