public async Task <ActionResult> AddOrUpdatePlayer([FromBody] Player player) { var result = await _playerService.AddOrUpdatePlayer(player); if (!result) { return(BadRequest()); } return(Ok()); }