public ProductTrainingRepository(AzureStorageAccountFactory storageAccountFactory) { var storageAccount = storageAccountFactory.GetTableStorageAccount(); var tableClient = storageAccount.CreateCloudTableClient(); _table = tableClient.GetTableReference(TableName); _table.CreateIfNotExistsAsync(); }
public AzureFileRepository(AzureStorageAccountFactory storageAccountFactory) { var storageAccount = storageAccountFactory.GetStorageAccount(); _blobClient = storageAccount.CreateCloudBlobClient(); }