Skip to content

Instantly share code, notes, and snippets.

@ivanpaulovich
Created July 22, 2018 15:43
Show Gist options
  • Save ivanpaulovich/0dd5df2132bf247e9590b36a59a3dda0 to your computer and use it in GitHub Desktop.
Save ivanpaulovich/0dd5df2132bf247e9590b36a59a3dda0 to your computer and use it in GitHub Desktop.
PrimitiveObsessionFixed.cs
public class Customer
{
public int Id { get; set; }
public FirstName FirstName { get; set; }
public LastName LastName { get; set; }
public Email Email { get; set; }
public SSN SSN { get; set; }
}
public class RegisterCustomerUseCase
{
public void Execute(
FirstName firstName,
LastName lastName,
Email email,
SSN ssn)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment