예제 #1
0
        public async Task <DeploymentParamsResponseDto> GetDeploymentParams()
        {
            var versions = await _deploymentService.GetReleasesAsync();

            var environments = _deploymentService.Environments;

            return(new DeploymentParamsResponseDto
            {
                Versions = versions,
                Environments = environments,
            });
        }