public IActionResult UpdateNationalPark(int nationalParkId, [FromBody] NationalParkDto nationalParkDto)
        {
            if (nationalParkDto == null || nationalParkId != nationalParkDto.Id)
            {
                return(BadRequest(ModelState));
            }
            var ojbNationalPark = _mapper.Map <NationalPark>(nationalParkDto);

            if (!_nationalParkRepository.EditNationalPark(ojbNationalPark))
            {
                ModelState.AddModelError("", $"Something went wrong went update the recored {ojbNationalPark.Name}");
                return(StatusCode(500, ModelState));
            }

            return(NoContent());
        }