コード例 #1
0
        public async Task <ShippingAddressDetail_ShippingAddressDTO> Get([FromBody] ShippingAddressDetail_ShippingAddressDTO ShippingAddressDetail_ShippingAddressDTO)
        {
            if (!ModelState.IsValid)
            {
                throw new MessageException(ModelState);
            }

            ShippingAddress ShippingAddress = await ShippingAddressService.Get(ShippingAddressDetail_ShippingAddressDTO.Id);

            return(new ShippingAddressDetail_ShippingAddressDTO(ShippingAddress));
        }