Exemple #1
0
        public async Task <HttpOperationResult <BuildDto> > GetLastAsync([FromRoute] Guid buildConfigId)
        {
            logger.LogInformation($"Start execution method '{nameof(GetLastAsync)}'");

            var build = await buildService.GetLastBuildAsync(buildConfigId);

            return(HttpOperationResult <BuildDto> .Ok(ModelsMapper.ConvertBuildServiceModelToDto(build)));
        }