public async Task AllCatalogBrands() { GetCatalogBrandsResponse getCatalogBrandsResponse = await HttpClient.GetFromJsonAsync <GetCatalogBrandsResponse>(GetCatalogBrandsRequest.GetRoute()); ValidateGetCatalogBrandsResponse(getCatalogBrandsResponse); }
private void ValidateGetCatalogBrandsResponse(GetCatalogBrandsResponse aGetCatalogBrandsResponse) { aGetCatalogBrandsResponse.CorrelationId.Should().Be(GetCatalogBrandsRequest.CorrelationId); }
public async Task AllCatalogBrands() { GetCatalogBrandsResponse getCatalogBrandsResponse = await Send(GetCatalogBrandsRequest); ValidateGetCatalogBrandsResponse(getCatalogBrandsResponse); }