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