public IActionResult GetTrailInNationalPark(int nationalId)
        {
            var objList = _trailRepository.GetTrailInNationalPark(nationalId);

            if (objList == null)
            {
                return(NotFound());
            }

            var objDto = new List <TrailDto>();

            foreach (var obj in objList)
            {
                objDto.Add(_mapper.Map <TrailDto>(obj));
            }

            return(Ok(objDto));
        }