public async Task <IActionResult> Index(GetPersonInput input) { var dtos = await _personAppService.GetPagedPersonAsync(input); return(View(dtos)); }
public async System.Threading.Tasks.Task <IActionResult> Index(GetPersonInput input) { input.SkipCount = 0; input.MaxResultCount = 500; var dtos = await _personAppService.GetPagedPersonAsync(input); return(View(dtos)); }
public async Task <ActionResult> Index(int skipCount = 0, int maxResultCount = 10) { var dtos = await _personAppService.GetPagedPersonAsync(new PhoneBooks.dtos.GetPersonInput { SkipCount = skipCount, MaxResultCount = maxResultCount }); var model = new PersonListViewModel { Items = dtos.Items }; return(View(model)); }
public async Task <IActionResult> Index(GetPersonInput input) { PagedResultDto <PersonListDto> dtos = await _personAppServices.GetPagedPersonAsync(input); return(View(dtos)); }