public ActionResult <IEnumerable <PeopleReadDto> > GetAllPeople() { var peopleItems = _repository.GetAllPeoples(); return(Ok(_mapper.Map <IEnumerable <PeopleReadDto> >(peopleItems))); }
public ActionResult <IEnumerable <PeopleReadDto> > GetAllPeople() { var peopleItems = _repository.GetAllPeoples(); return(Ok(_mapper.Map <IEnumerable <PeopleReadDto> >(peopleItems))); }