static void Main(string[] args)
    {
        HumanDto     humanDto = new HumanDto();
        List <Human> humans   = new List <Human>();

        humans.Add(new Human()
        {
            city = "London", id = 1
        });
        humans.Add(new Human()
        {
            city = "London2", id = 2
        });
        humans.Add(new Human()
        {
            city = "London3", id = 3
        });
        humans.Add(new Human()
        {
            city = "London4", id = 4
        });

        humans.ForEach(e => humanDto.Add(e.city, e.id));
    }
 public Human(HumanDto dto, StarWarsData data)
 {
     _dto  = dto ?? throw new ArgumentNullException(nameof(dto));
     _data = data ?? throw new ArgumentNullException(nameof(data));
 }
        public HumanDto GetHumanDto(int humanId)
        {
            HumanDto humanDto = new HumanDto(humanId);

            return(humanDto);
        }