ModelFactoryGenerateNewEnvironment Method

Generates a new EnvironmentDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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