Exemplo n.º 1
0
        public bool DeletePlayer(int id)
        {
            var player = _playerProvider.GetPlayer(id);

            if (player == null)
            {
                return(false);
            }

            _playerProvider.DeletePlayer(player);
            return(true);
        }