예제 #1
0
        public async Task <bool> RemovePlayer(Guid id)
        {
            var player = await _playersRepository.GetPlayerAsync(id);

            if (player == null)
            {
                return(false);
            }
            else
            {
                await _playersRepository.Delete(player);

                return(true);
            }
        }