private bool HasPhoneNumber() { var user = UsersBL.FindById(User.Identity.GetUserId()); if (user != null) { return(user.PhoneNumber != null); } return(false); }
private bool HasPassword() { var user = UsersBL.FindById(User.Identity.GetUserId()); if (user != null) { return(user.PasswordHash != null); } return(false); }