Exemplo n.º 1
0
        public async Task <IActionResult> PostBannedPlayer([FromBody] BannedPlayerReadmodel bannedPlayerReadmodel)
        {
            var bannedPlayers = await _padServiceRepository.PostBannedPlayers(bannedPlayerReadmodel);

            return(Ok(bannedPlayers));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> DeleteBannedPlayer([FromBody] BannedPlayerReadmodel bannedPlayerReadmodel)
        {
            var bannedPlayers = await _matchmakingServiceRepository.DeleteBannedPlayer(bannedPlayerReadmodel);

            return(Ok(bannedPlayers));
        }
Exemplo n.º 3
0
        public async Task <IActionResult> BrokenRouteTest()
        {
            BannedPlayerReadmodel bp = null;

            return(Ok(bp.banReason));
        }