private string GetStoryTitleById(int id) { var workItemCreator = new WorkItemCreator(); var workItemById = workItemCreator.GetWorkItemById(id); return(workItemById != null ? workItemById.Title : string.Empty); }
public WorkflowController() { this.storyPreparer = new StoryPreparer(); this.storyRepository = StoryRepository.Instance; this.workItemCreator = new WorkItemCreator(); this.createdWorkItems = new List <WorkItem>(); }