public async Task GetListAsync() { // Act var result = await _organizationAppService.GetListAsync(new GetOrganizationsInput()); // Assert result.TotalCount.ShouldBe(2); result.Items.Count.ShouldBe(2); result.Items.Any(x => x.Id == Guid.Parse("8895847e-95d9-4f87-bbaa-41a03fe5cfa2")).ShouldBe(true); result.Items.Any(x => x.Id == Guid.Parse("357aa2d1-38e3-45f5-b495-e75e747f4cc6")).ShouldBe(true); }
public Task <PagedResultDto <OrganizationDto> > GetListAsync(GetOrganizationListDto input) { return(_orgAppSvc.GetListAsync(input)); }
public Task <PagedResultDto <OrganizationDto> > GetListAsync(OrganizationPagedRequestDto input) { return(_abpOrganizationAppService.GetListAsync(input)); }