Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IdentityResult> CreateAsync(User user, CancellationToken cancellationToken) { cancellationToken.ThrowIfCancellationRequested(); user.Id = await _repo.QuerySingleAsync <int>( _helper.GetCreateUsersSql(), cancellationToken, user); await AddToRoleAsync(user, "Player", cancellationToken); return(IdentityResult.Success); }