Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public async Task OnGetAsync(int?pageIndex)
 {
     Accounts = await PagerSourceList <Account> .CreateAsync(_ctx.Accounts, pageIndex ?? 1, PAGE_SIZE);
 }