Esempio n. 1
0
        public ActionResult <IEnumerable <AddressReadDto> > GetAllAddress()
        {
            var addressItmes = _repository.GetAllAddress();

            return(Ok(_mapper.Map <IEnumerable <AddressReadDto> >(addressItmes)));
        }