Example #1
0
        public ActionResult <IEnumerable <PersonReadDto> > GetAllPeople()
        {
            var peopleItems = _repository.GetAllPeople();

            return(Ok(_mapper.Map <IEnumerable <PersonReadDto> >(peopleItems)));
        }