public async Task GetAll() { var result = await _service.GetAll(); Assert.NotNull(result); Assert.NotEmpty(result.Items); Assert.True(result.TotalCount > 0); Assert.Equal(result.TotalCount, result.Items.Count); }
public async Task <mds::GetAllReadOnlyEntityResponse> GetAll([FromQuery] mds::GetAllRequest request) { _logger.LogInformation("Executing {Action} {Message}", nameof(GetAll), request); return(await _service.GetAll(request).ConfigureAwait(false)); }