Example #1
0
 public Suite AddSuite(int projectId, Suite suite)
 {
     var response = Post("add_suite/" + projectId, suite);
     return JsonConvert.DeserializeObject<Suite>(response);
 }
Example #2
0
        public Suite UpdateSuite(int suiteId, Suite updatedSuite)
        {
            var originalSuite = GetSuite(suiteId);
            originalSuite.MergeWith(updatedSuite);

            var response = Post("update_suite/" + suiteId, originalSuite);
            return JsonConvert.DeserializeObject<Suite>(response);
        }