Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created September 9, 2020 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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