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