示例#1
0
 public static void UpdateVariantStatus(string variantID_List, string status)
 {
     try
     {
         using (_certonaService = new CertonaServiceClient())
         {
             try
             {
                 UserDTO user    = FormsAuthenticationWrapper.User;
                 var     request = new UpdateVariantStatusRequest()
                 {
                     User = user, VariantID_List = variantID_List, Status = status
                 };
                 var response = _certonaService.UpdateVariantStatus(request);
             }
             catch (TimeoutException exception)
             {
                 _certonaService.Abort();
                 throw;
             }
             catch (CommunicationException exception)
             {
                 _certonaService.Abort();
                 throw;
             }
         }
     }
     catch (Exception ex)
     {
         throw;
     }
 }