public virtual async Task <PagedResultDto <TenantDto> > GetListAsync(GetTenantsInput input) { var count = await TenantRepository.GetCountAsync(input.Filter); var list = await TenantRepository.GetListAsync( input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter ); return(new PagedResultDto <TenantDto> ( count, ObjectMapper.Map <List <Tenant>, List <TenantDto> > (list) )); }
public virtual Task <PagedResultDto <TenantDto> > GetListAsync(GetTenantsInput input) { return(TenantAppService.GetListAsync(input)); }