public IActionResult GetPersonsByProfession(string profession)
        {
            var persons = _dataService.GetPersonsByProfession(profession).GetRange(0, 500);

            IList <PersonDTO> newPersonDTO = persons.Select(x => new PersonDTO
            {
                Id        = x.person.Id,
                Name      = x.person.Name,
                BirthYear = x.person.BirthYear,
                DeathYear = x.person.DeathYear,
                Url       = "http://localhost:5001/api/name/" + x.person.Id
            }).ToList();

            return(Ok(newPersonDTO));
        }