Example #1
0
        public void UpdateStory(UserStoryDto input)
        {
            var story = _storyRepository.Get(input.Id);

            story.Name              = input.Name;
            story.Description       = input.Description;
            story.DeveloperPriority = input.DeveloperPriority;
        }
Example #2
0
        public void CreateStory(UserStoryDto input)
        {
            //We can use Logger, it's defined in ApplicationService class.
            Logger.Info("Creating a task for input: " + input);

            var story = new UserStory {
                Name = input.Name, Description = input.Description, ProductBackId = input.ProductBackId, TenantId = AbpSession.TenantId
            };

            _storyRepository.Insert(story);
        }