public async Task EnterLobby([FromBody] string FigherJson) { var _userEmail = userEmail().Result; Fighter newFighter = System.Text.Json.JsonSerializer.Deserialize <Fighter>(FigherJson); newFighter.ownerEmail = _userEmail; _arena.AddFighter(newFighter); await _chatHubContext.Clients.All.SendAsync(Messages.ENTER_LOBBY, _userEmail, JsonSerializer.Serialize(newFighter)); }