public void CreateDeploymentStep(string deploymentName, IDeploymentStep deploymentStep) { using (var service = DataLocator.GetPersistenceService()) { service.Object.Create(deploymentName + " Step" + deploymentStep.Id, deploymentStep); } }
public DeploymentStep Convert(IDeploymentStep deploymentStepBO) { var convertedDeploymentStep = new DeploymentStep { Id = deploymentStepBO.Id, Description = deploymentStepBO.Description, StepState = (WEB.DeploymentStepState)deploymentStepBO.StepState, Comment = deploymentStepBO.Comment }; return(convertedDeploymentStep); }