Example #1
0
File: US.cs Project: Bodasyuk/NBD
        public bool CheckMail2(string mail)
        {
            List <User> users = new List <User>();

            users = rep.GetUsers();
            foreach (var el in users)
            {
                if (el.person.Mail == mail)
                {
                    return(false);
                }
            }
            return(true);
        }