public TestRun AddTestRun(int projectId, TestRun run) { var response = Post("add_run/" + projectId, run); return JsonConvert.DeserializeObject<TestRun>(response); }
public TestRun UpdateTestRun(int runId, TestRun updatedRun) { var originalRun = GetTestRun(runId); originalRun.MergeWith(updatedRun); var response = Post("update_run/" + runId, originalRun); return JsonConvert.DeserializeObject<TestRun>(response); }