示例#1
0
        private bool TelefonNumarasiVarMi()
        {
            var kullanici = KullaniciYoneticisi.FindById(User.Identity.GetUserId());

            if (kullanici != null)
            {
                return(kullanici.PhoneNumber != null);
            }
            return(false);
        }
示例#2
0
        private bool SifresiVarMi()
        {
            var user = KullaniciYoneticisi.FindById(User.Identity.GetUserId());

            if (user != null)
            {
                return(user.PasswordHash != null);
            }
            return(false);
        }