Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "spencerdoe"

<cite>hikalkan: </cite> Can you try this one:

public async Task CreateUserWithoutAuthorization(UserInput input)
{
   var testUser = new User
   {
       CellPhone = input.CellPhone,
       EmailAddress = input.EmailAddress,
       UserName = input.UserName        
   };

   (await _userManager.CreateAsync(testUser)).CheckErrors();       
}

I changed void to Task. The only thing I can see is that for now.

Thanks! But can you please brief me in about why the return type matters? Your help is really appreciated!! :D

Showing 1 to 1 of 1 entries