/// <summary> /// Get a facade that manages all the stories of this project /// </summary> /// <returns>facade that manages the result</returns> public StoriesFacade All() { return(new StoriesFacade(this, _storyRepository.GetStories(this.ParentFacade.Item.Id))); }
public IEnumerable <Story> GetStoriesForProject(int id) { var stories = _pivotalStoryRepository.GetStories(id); return(Mapper.Map <IEnumerable <PivotalStory>, IEnumerable <Story> >(stories)); }