Пример #1
0
 public async Task <AsycudaDocument> CreateAsycudaDocument(AsycudaDocument entity)
 {
     try
     {
         using (var t = new AsycudaDocumentClient())
         {
             return(new AsycudaDocument(await t.CreateAsycudaDocument(entity.DTO).ConfigureAwait(continueOnCapturedContext: false)));
         }
     }
     catch (FaultException <ValidationFault> e)
     {
         throw new Exception(e.Detail.Message, e.InnerException);
     }
     catch (Exception)
     {
         Debugger.Break();
         throw;
     }
 }