ModelFactoryGenerateRootBlobFolder Method

Generates the root folder (in the Azure Container) that the company owns.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static BlobDto GenerateRootBlobFolder(
	CompanyDto company,
	string? folderName = null
)

Parameters

company  CompanyDto
Company the root folder is generated for.
folderName  String  (Optional)
Name of the root folder; optional. If left , we will use the company name instead.

Return Value

BlobDto
Generated BlobDto folder

Exceptions

ArgumentNullExceptionThrown if company is .
ArgumentExceptionfolderName is allowed to be , but if set, it cannot be empty or whitespace.

See Also