Esempio n. 1
0
        public async Task DeleteBuildStepsByProjectId(int projectId)
        {
            var buildSteps = await _buildStepService.GetBuildStepsByProjectIdAsync(projectId);

            foreach (var step in buildSteps)
            {
                await _buildStepService.Delete(step.Id);
            }
        }
Esempio n. 2
0
 public async Task <IEnumerable <BuildStepDTO> > GetBuildStepsByProject(int projectId)
 {
     return(await _buildStepService.GetBuildStepsByProjectIdAsync(projectId));
 }