public async Task <IPipeline> GetAsync(string id) { if (string.IsNullOrWhiteSpace(id)) { return(null); } IPipeline pipeline = await _repository.GetAsync(id); if (pipeline != null) { await GetPipelineTasks(pipeline); } return(pipeline); }
public async Task <IPipeline> GetAsync(string id) { if (string.IsNullOrWhiteSpace(id)) { return(null); } IPipeline pipeline = await _repository.GetAsync(id); if (pipeline != null) { await GetPipelineTasks(pipeline); } return(pipeline); }