Example #1
0
 public async Task Create(AddressCommandDto.AddAddress Address)
 {
     var Response = await Client.PostAsJsonAsync
                    (
         $"Address?CustomerId={Address.CustomerId}&Street={Address.Street}&Zip={Address.Zip}&City={Address.City}&Country={Address.Country}", Address
                    );
 }
 public Task <IActionResult> PostAddress(AddressCommandDto.AddAddress request)
 => RequestHandler.HandleCommand(request, Application.Handle, Log);