public IActionResult GetAllPersons()
        {
            var persons = _personQueries.GetAll();

            if (persons == null || !persons.Any())
            {
                return(NotFound("No persons found."));
            }

            return(Ok(persons));
        }