Beispiel #1
0
        public async Task <Player> CreatePlaceholder([FromBody] Player dto)
        {
            if (dto == null)
            {
                throw new ArgumentNullException(nameof(dto));
            }

            Player player = await _playerManager.CreatePlayerWithTagAsync(dto.Tag);

            return(player);
        }