ModelFactoryGenerateNewEnvironment Method

Generates a new EnvironmentDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static EnvironmentDto GenerateNewEnvironment(
	CompanyDto company,
	EnvironmentDto environmentDto,
	AccountDto createdBy,
	string newName
)

Parameters

company  CompanyDto
Company the Environment belongs to
environmentDto  EnvironmentDto
Environment the Environment belongs to
createdBy  AccountDto
User creating the Environment
newName  String
The placeholder name for the environment

Return Value

EnvironmentDto
Newly generated Environment

See Also