Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created September 9, 2020 21:17
Show Gist options
  • Save dcomartin/e53eee59cedf6413af9e985cb45f139c to your computer and use it in GitHub Desktop.
Save dcomartin/e53eee59cedf6413af9e985cb45f139c to your computer and use it in GitHub Desktop.
namespace Sales.Contracts
{
public class OrderPlaced
{
public Guid OrderId { get; set; }
public Address ShippingAddress { get; set; }
}
public class Address
{
public string AddressLine1 { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Postal { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment