Exemple #1
0
        public async Task <IActionResult> DeletePlayerAsync(int playerId)
        {
            await playerRepository.DeletePlayerAsync(playerId);

            chatRepository.DeletePlayerChats(playerId);
            return(new OkObjectResult(new { playerDeleted = true }));
        }