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 Delete(int id) { await _buildStepService.Delete(id); }