Beispiel #1
0
        public bool CheckUserByEmail(string email)
        {
            var user = _context.User.Where(UserSpecs.CheckUserByEmail(email)).Count();

            if (user > 0)
            {
                return(true);
            }

            return(false);
        }