public void UpdateStory(UserStoryDto input) { var story = _storyRepository.Get(input.Id); story.Name = input.Name; story.Description = input.Description; story.DeveloperPriority = input.DeveloperPriority; }
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); }