public bool HasValidPassword() { return(!Check.ContainsInvalidChar(this.password) && this.password.Length >= 6); }
public bool HasValidSpecialty() { //Specialty should be a set of letters and white spaces only. return(Check.IsWord(this.specialty)); }
public bool HasValidLogin() { return(!Check.ContainsInvalidChar(this.login) && !Check.ContainsSpecialCharacter(this.login)); }
public bool HasValidAddress() { return(!Check.ContainsInvalidChar(this.address) && !Check.ContainsSpecialCharacter(this.address)); }
public bool HasValidPhoneNumber() { return(Check.IsPhoneNumber(this.phoneNumber)); }
public bool HasValidEmail() { return(Check.IsEmailAddress(this.email)); }
public bool HasValidLastName() { return(Check.IsWord(this.lastName)); }
public bool HasValidFirstName() { return(Check.IsWord(this.firstName)); }