Пример #1
0
 public object Any(SGSyncPostValidationExternal request)
 {
     request.Value += "> " + Request.Verb + " " + nameof(SGSyncPostValidationExternal);
     try
     {
         return(Gateway.Send(request.ConvertTo <SGSyncPostValidationInternal>()));
     }
     catch (WebServiceException e)
     {
         throw;
     }
     catch (Exception e)
     {
         throw new NotImplementedException("Should throw WebServiceException", e);
     }
 }
Пример #2
0
 public object Any(SGSyncPostValidationExternal request)
 {
     request.Value += "> " + Request.Verb + " " + typeof(SGSyncPostValidationExternal).Name;
     return(Gateway.Send(request.ConvertTo <SGSyncPostValidationInternal>()));
 }