public bool isValidModificationGestionnaire() { return(!string.IsNullOrEmpty(LoginModification) && !string.IsNullOrEmpty(MailModification) && Utilitaires.IsValidEmail(MailModification) && !string.IsNullOrEmpty(NomModification) && !(RoleModification == null) ); }
public bool isValidAjoutGestionnaire() { return(!string.IsNullOrEmpty(LoginInscription) && !string.IsNullOrEmpty(MailInscription) && Utilitaires.IsValidEmail(MailInscription) && !string.IsNullOrEmpty(NomInscription) && !string.IsNullOrEmpty(MotDePasseInscription) && !(RoleInscription == null) ); }
public bool isValidModificationClient() { return(!string.IsNullOrEmpty(LoginModification) && !string.IsNullOrEmpty(MailModification) && Utilitaires.IsValidEmail(MailModification) && !string.IsNullOrEmpty(NomModification) && !string.IsNullOrEmpty(PrenomModification) && !string.IsNullOrEmpty(TelephoneModification) && !string.IsNullOrEmpty(AgeModification) && Int32.Parse(AgeModification) > 16); }
public bool isValidAjoutClient() { return(!string.IsNullOrEmpty(LoginInscription) && !string.IsNullOrEmpty(MailInscription) && Utilitaires.IsValidEmail(MailInscription) && !string.IsNullOrEmpty(NomInscription) && !string.IsNullOrEmpty(PrenomInscription) && !string.IsNullOrEmpty(MotDePasseInscription) && !string.IsNullOrEmpty(TelephoneInscription) && !string.IsNullOrEmpty(AgeInscription) && Int32.Parse(AgeInscription) > 16); }