Base solution for your next web application

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