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); }