public CustomerSignUpResult(int customerId, CustomerSignUpStatus customerSignUpStatus) { this.CustomerId = customerId; this.CustomerSignUpStatus = customerSignUpStatus; }
public CustomerSignUpResult(int customerId) { this.CustomerId = customerId; CustomerSignUpStatus = customerId > 0?CustomerSignUpStatus.Registered:CustomerSignUpStatus.Failed; }