Esempio n. 1
0
        public static User GetUserDetails(User user)
        {
            TennisClubCtx db = new TennisClubCtx();


            return((User)db.EmployeeLogins.Where(u => u.Login.ToLower() == user.Login.ToLower() && u.Password == user.Password));
        }