public virtual async Task <PagedResultDto <SaasTenantDto> > GetListAsync(GetSaasTenantsInput input)
        {
            var count = await TenantRepository.GetCountAsync(input.Filter);

            var list = await TenantRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter, true);

            return(new PagedResultDto <SaasTenantDto>(
                       count,
                       ObjectMapper.Map <List <SaasTenant>, List <SaasTenantDto> >(list)
                       ));
        }
 public virtual Task <PagedResultDto <SaasTenantDto> > GetListAsync(GetSaasTenantsInput input)
 {
     return(TenantAppService.GetListAsync(input));
 }