public IActionResult Get(int?sportId)  //https://localhost:44330/api/sportcountry?sportId=5
        {
            try
            {
                if (!sportId.HasValue)
                {
                    return(StatusCode(400, StatusCodes.ReturnStatusObject("SportId Paramter has no value.")));
                }
                var results = _countryRepository.GetCountryForSport(sportId);

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