Exemple #1
0
        public bool UserExist(int id)
        {
            Utilities.CheckEF CEF = new Utilities.CheckEF();
            bool exist            = false;
            var  query            = (from data in context.Users
                                     where data.Id == id
                                     select data).FirstOrDefault();

            exist = CEF.CheckUserWithID(query);

            return(exist);
        }