public async Task <ActionResult <VisitorReadDto> > GetVisitorById(int id)
        {
            var visitorItem = await _repository.GetByIdAsync(id);

            if (visitorItem != null)
            {
                return(Ok(_mapper.Map <VisitorReadDto>(visitorItem)));
            }
            else
            {
                return(NotFound());
            }
        }