I have a web API and the POST works just fine in Swagger. It does work fine if I use the web API from my website application but when I do a PostAsJsonAsync against api/User, I won't get the object back (so I can retrieve the new UserId).
I guess this is intended.
How would I make the POST method in the UserController to return the object back? A simple "return userobject;" wont suffice!