Exemplo n.º 1
0
 public void GetQuestionListByUser()
 {
     using (var client = new BigBrandClient())
     {
         var result = client.GetQuestionList(Guid.Parse("{63d05ec6-4a39-49db-b830-b374390fca5f}"), "A9FD4677");
         Console.WriteLine(JsonConvert.SerializeObject(result));
     }
 }
Exemplo n.º 2
0
 public void UpdateQuestion_Test()
 {
     using (var client = new BigBrandClient())
     {
         var result = client.GetQuestionList(Guid.Parse("{63d05ec6-4a39-49db-b830-b374390fca5f}"), "A9FD4677");
         //Guid.Parse("{63d05ec6-4a39-49db-b830-b374390fca5f}"), result.Result[4].PKID, "A"
         var results = client.SetAnswerRes(new Models.Requests.QuestionAnsRequestModel()
         {
             hashKey    = "A9FD4677",
             pkid       = result.Result[3].PKID,
             userId     = Guid.Parse("{63d05ec6-4a39-49db-b830-b374390fca5f}"),
             resOptions = "C"
         });
         Console.WriteLine(JsonConvert.SerializeObject(results.Result));
     }
 }