using System.Text.Json.Serialization;
// ...
public class AddressRequest
{
[JsonPropertyName("addressId")]
public int Id { get; set; }
[JsonPropertyName("addressLine1")]
public string AddressLine1 { get; set; }
[JsonPropertyName("addressLine2")]
public string AddressLine2 { get; set; }
[JsonPropertyName("addressCity")]
public string City { get; set; }
// ...
}
Created
September 22, 2021 08:03
-
-
Save ByteDev/f52e85858609dd7490f5184312f702d8 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment