public async Task OnGetAsync(int?pageIndex) { AccountUsers = await PagerSourceList <AccountUser> .CreateAsync( _ctx.AccountUsers .Include(au => au.Account) .Include(au => au.User), pageIndex ?? 1, PAGE_SIZE); }
public async Task OnGetAsync(int?pageIndex) { Accounts = await PagerSourceList <Account> .CreateAsync(_ctx.Accounts, pageIndex ?? 1, PAGE_SIZE); }