Example #1
0
 public User GetByUserAndPassword(string email, string password)
 {
     return(_context.Users
            .AsNoTracking()
            .Where(UserQueries.GetByEmailAndPassword(email, password))
            .FirstOrDefault());
 }