public async Task <PlayerModel> CreatePlayerAsync(long teamId, PlayerModel newPlayer)
        {
            await ValidateTeamAsync(teamId);

            newPlayer.TeamId = teamId;
            var playerEntity = _mapper.Map <PlayerEntity>(newPlayer);

            _footballRepository.CreatePlayer(teamId, playerEntity);

            var result = await _footballRepository.SaveChangesAsync();

            if (!result)
            {
                throw new Exception("Database Error");
            }

            return(_mapper.Map <PlayerModel>(playerEntity));
        }