Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
        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);
            }
        }