Created
July 22, 2018 15:43
-
-
Save ivanpaulovich/0dd5df2132bf247e9590b36a59a3dda0 to your computer and use it in GitHub Desktop.
PrimitiveObsessionFixed.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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