public async Task <ActionResult <AddressDTO> > GetById(Guid id) { AddressDTO address = await _addressService.GetByIdAsync(id); if (address.Id == Guid.Empty) { return(NotFound()); } return(Ok(address)); }