Exemple #1
0
        public User GetUserByBarCode(string pBarCode)
        {
            var u = db.GetUser(new User()
            {
                BarCode = pBarCode
            });

            if (u.Count() > 0)
            {
                return(u.First());
            }
            return(null);
        }