public async Task CompanyFilter() { using (var client = new LogClientProvider().Client) { var response = await client.GetAsync("/api/company/companyFilter"); response.EnsureSuccessStatusCode(); response.StatusCode.Should().Be(HttpStatusCode.OK); } }
public async Task CompanyById(int companyId) { using (var client = new LogClientProvider().Client) { var response = await client.GetAsync(String.Format("/api/company/{0}", companyId)); response.EnsureSuccessStatusCode(); response.StatusCode.Should().Be(HttpStatusCode.OK); } }