private async Task AddNewPlayer() { UserProfile playerProfile = new UserProfile { Email = PlayerEmail1, FirstName = "Some", LastName = "Some", Name = "someSomeone", Password = Password }; await _catanPlayerBusinessLogic.RegisterPlayer(playerProfile); }
public async Task <bool> RegisterUser([FromBody] UserProfile user) { _logger?.LogDebug($"RegisterUser for user: {user.Id}"); return(await _catanUserBusinessLogic.RegisterPlayer(user)); }