Example #1
0
 public User GetByLogin(string userName)
 {
     return(_context.Users
            .AsNoTracking()
            .Where(UserQueries.GetByLogin(userName))
            .FirstOrDefault());
 }