mattrobineau / stories

Community driven link aggregater for .Net written in C#
MIT License
1 stars 1 forks source link

Adding a story does not update the story vm with the user's name #34

Closed mattrobineau closed 7 years ago

mattrobineau commented 7 years ago

MapToStorySummaryViewModel tries to add the username after adding a story by using story.User.Username. User will be null when a story is created.

Refactor the StoryService to get the user from the context rather that include or use navigation properties.