// GET api/countries/1
        public async Task <CountryDto> GetCountry(int id)
        {
            Country country = await _countryService.GetByIdAsync(id);

            if (country == null)
            {
                throw new HttpResponseException(HttpStatusCode.NotFound);
            }

            return(_mapper.Map <Country, CountryDto>(country));
        }