Exemple #1
0
 public bool Validate()
 {
     return(Id >= 0 &&
            TelephoneNumber.IsValidTelephoneNumber() &&
            RegistrationDate != null &&
            !string.IsNullOrWhiteSpace(Role) &&
            BanExpiresDate != null &&
            SubscriptionExecutorExpiresDate != null &&
            SubscriptionOpenSourceExpiresDate != null &&
            Email.IsValidEmail());
 }
 public bool Validate()
 {
     return(TelephoneNumber.IsValidTelephoneNumber() &&
            Password.IsValidPassword());
 }
Exemple #3
0
 public bool Validate()
 {
     return(TelephoneNumber.IsValidTelephoneNumber() &&
            !string.IsNullOrWhiteSpace(ValidationCode) &&
            Password.IsValidPassword());
 }