Exemplo n.º 1
0
        public IActionResult Post([FromBody] AddressBasicDTO addressDTO)
        {
            var address = _mapper.Map <AddressModel>(addressDTO);

            _addressRepo.Insert(address);

            return(Ok());
        }