Beispiel #1
0
        public int FindUserByFacebookID(long facebookID)
        {
            int userID = 0;

            using (var context = new RegistrationEntities())
            {
                userID = context.spFindUserByFacebookID(facebookID).FirstOrDefault().UserID;
            }

            return(userID);
        }