コード例 #1
0
 protected static void Because_of()
 {
     response = client.Post(ServiceUrl["LegalEntity"], content);
     response.AssertStatusCodeIs(HttpStatusCode.Created);
 }
コード例 #2
0
 protected static void Because_of()
 {
     client.DefaultHeaders.Add("If-Match", entity.Version.ToString());
     response = client.Post(ServiceUrl["LegalEntity"] + entity.Id, content);
     response.AssertStatusCodeIs(HttpStatusCode.NoContent);
 }