public IActionResult GetCountryBasedOnTournament(int?tournamentId)
        {
            try
            {
                if (!tournamentId.HasValue)
                {
                    return(StatusCode(400, StatusCodes.ReturnStatusObject("tournamentId Paramter has no value.")));
                }
                var results = _countryRepository.GetCountryBasedOnTournament(tournamentId);

                if (results != null)
                {
                    _logger.LogInformation("Get countries for sport id : {0} successful.", tournamentId);
                    return(Ok(results));
                }
                else
                {
                    _logger.LogInformation("Get countries for sport id : {0} has no items", tournamentId);
                    return(StatusCode(400, StatusCodes.ReturnStatusObject("No items found.")));
                }
            }
            catch (Exception e)
            {
                _logger.LogInformation("Get countries for sport id : {0}.  Error - {1}", tournamentId, e.Message);
                return(StatusCode(400, StatusCodes.ReturnStatusObject("Failed to retrieve items.")));
            }
        }