예제 #1
0
        /// <summary>
        /// Call the action updater then send the modification to Pivotal
        /// </summary>
        /// <param name="updater">Action that accepts a the story to modified (this.Item)</param>
        /// <returns>This</returns>
        public StoryFacade <TParent> Update(Action <Story> updater)
        {
            updater(this.Item);

            this.Item = _storyRepository.UpdateStory(this.Item);

            return(this);
        }