Пример #1
0
        public ActionResult <IEnumerable <AddressReadDto> > GetAllAddresses()
        {
            var ret = _repository.GetAllAddresses();

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