예제 #1
0
        public Batch AddBatch(Batch batch)
        {
            batch.BatchId = Guid.NewGuid();
            _batchContext.Batches.Add(batch);
            _batchContext.SaveChanges();

            AzureBlob azureBlob = new AzureBlob();

            azureBlob.InitializeBlobContainer(_storageAccountKey, _storageAccountName, _containerName);

            return(batch);
        }