Ejemplo n.º 1
0
 protected override void OnCreate(ProjectResource resource)
 {
     resource.VariableSetId       = _variableSetRepository.Create(new VariableSetResource()).Id;
     resource.DeploymentProcessId = _deploymentProcessRepository.Create(new DeploymentProcessResource()).Id;
 }
Ejemplo n.º 2
0
 protected override void OnCreate(ProjectResource resource)
 {
     resource.VariableSetId       = _variableSetRepository.Create(new VariableSetResource()).Id;
     resource.DeploymentProcessId = _deploymentProcessRepository.Create(new DeploymentProcessResource()).Id;
     resource.Links["Triggers"]   = GetProjectTriggersLink(resource.Id);
 }
Ejemplo n.º 3
0
 protected override async Task OnCreate(ProjectResource resource)
 {
     resource.VariableSetId       = (await _variableSetRepository.Create(new VariableSetResource())).Id;
     resource.DeploymentProcessId = (await _deploymentProcessRepository.Create(new DeploymentProcessResource())).Id;
 }