public bool AreRequiredCredentialsFieldsFilled() { bool areFilled = true; areFilled = String.IsNullOrEmpty(UserName.CleanSpaces()) ? false : true; areFilled = String.IsNullOrEmpty(Password.CleanSpaces()) ? false : true; return(areFilled); }
public bool AreRequiredFieldsFilled() { bool areFilled = true; areFilled = String.IsNullOrEmpty(UserName.CleanSpaces()) ? false : true; areFilled = String.IsNullOrEmpty(Password.CleanSpaces()) ? false : true; areFilled = String.IsNullOrEmpty(PasswordConfirm.CleanSpaces()) ? false : true; areFilled = String.IsNullOrEmpty(Email.CleanSpaces()) ? false : true; areFilled = String.IsNullOrEmpty(TfsUserName.CleanSpaces()) ? false : true; areFilled = GetTeams().Where(x => x.Selected.Equals(true)).ToList().Count == 0 ? false : true; return(areFilled); }