ModelFactoryGenerateNewEnvironment Method

Generates a new EnvironmentDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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