Replies: 3 comments 2 replies
-
@snax4a This logic it ensures that you don't update same phone number if given that they were previous saved under that user. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Oh i get what you mean, for me personally i don't have problem using _userManager api method. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@fretje can you take a look, please? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am wondering why in the userService.UpdateAsync method we are doing the following:
https://github.com/fullstackhero/dotnet-webapi-boilerplate/blob/main/src/Infrastructure/Identity/UserService.CreateUpdate.cs#L172
Why the phone number is retrieved and set through userManager?
The field update is done like other fields
user.PhoneNumber = request.PhoneNumber;
so why do we need this usermanager get and set methods here?Beta Was this translation helpful? Give feedback.
All reactions