public async Task <IActionResult> GetPointByIdAsync(Guid id)
        {
            var rankingPoint = await _rankingPointService.GetByIdAsync(id);

            if (rankingPoint != null)
            {
                return(Ok(RankingPointAdapter.ToRankingPointDTO(rankingPoint)));
            }

            return(NoContent());
        }
        public async Task <IActionResult> GetPointByPositionAsync([FromQuery] short position)
        {
            var rankingPoint = await _rankingPointService.GetByPositionAsync(position);

            if (rankingPoint != null)
            {
                return(Ok(RankingPointAdapter.ToRankingPointDTO(rankingPoint)));
            }

            return(NoContent());
        }
        public async Task <IActionResult> GetPointAsync()
        {
            var rankingPoints = await _rankingPointService.GetAllAsync();

            if (rankingPoints.Any())
            {
                return(Ok(rankingPoints.Select(x => RankingPointAdapter.ToRankingPointDTO(x))));
            }

            return(NoContent());
        }