Exemplo n.º 1
0
        public async Task <IHttpActionResult> CreateStory([FromBody] Story story)
        {
            var createdStory = await _storyService.CreateStoryAsync(story);

            return(Created(nameof(StoryController), createdStory));
        }