public async Task <IEnumerable <User> > GetUsersAsync(UserParams userParams) { var users = _context.Users .Include(u => u.Articles) .Include(u => u.Comments) .Include(u => u.Answers) .Include(u => u.Questions) .Include(u => u.UserRoles) .AsQueryable(); users = TQuery.UserQuery(userParams, users); return(await users.ToListAsync()); }