public async Task GetListAsync() { var result = await _ocelotAppService.GetListAsync(new PagedAndSortedResultRequestDto()).ConfigureAwait(false); result.TotalCount.ShouldBeGreaterThan(0); result.Items.ShouldContain(t => t.Name == "middleware"); }
public async Task <PagedResultDto <OcelotDto> > GetListAsync(PagedAndSortedResultRequestDto input) { return(await _ocelotGlobalConfigurationService.GetListAsync(input)); }