public IActionResult CreateNationalPark([FromBody] NationalParkDTO nationalParkDTO)
        {
            if (nationalParkDTO == null)
            {
                return(BadRequest(ModelState));
            }
            if (npRepository.CheckExistNationalPark(nationalParkDTO.Name))
            {
                ModelState.AddModelError(string.Empty, "NationalPark Exists");
                return(StatusCode(404, ModelState));
            }

            var obj = mapper.Map <NationalPark>(nationalParkDTO);

            if (!npRepository.CreateNationalPark(obj))
            {
                ModelState.AddModelError(string.Empty, $"Something Wrong{obj.Name}");
                return(StatusCode(500, ModelState));
            }

            return(CreatedAtRoute("GetNationalPark", new { nationalParkId = obj.Id, Version = HttpContext.GetRequestedApiVersion().ToString() }, obj));
        }