0
lalitChougule created
I want to create a user from my custom appService i.e I just want to call create() method of UserAppService from my custom appService. Which Interface do I have to inject in my appService ?
3 Answer(s)
-
0
Hi,
You can inject
IdentityUserManager
. it hasCreateAsync
method for creating users. -
0
Hi,
I am able to create user using
IdentityUserManager.CreateAsync
method but once the user is created I want to return the inserted userId.How to get inserted UserId ?
-
0
Objects are passed by reference, you can get the id from the user object after the unit of work is saved.