public async Task DeleteDocumentSet(int docSetId) { using (var t = new DocumentSetClient()) { await t.DeleteDocumentSet(docSetId).ConfigureAwait(false); } }
public async Task CleanLines(int docSetId, IEnumerable <int> lst, bool perIM7) { using (var t = new DocumentSetClient()) { await t.CleanLines(docSetId, lst, perIM7).ConfigureAwait(false); } }
public async Task BaseDataModelInitialize() { using (var t = new DocumentSetClient()) { await t.BaseDataModelInitialize().ConfigureAwait(false); } }
public async Task CleanBond(int docSetId, bool perIM7) { using (var t = new DocumentSetClient()) { await t.CleanBond(docSetId, perIM7).ConfigureAwait(false); } }
public async Task <AsycudaDocumentSetEx> NewDocumentSet() { using (var t = new DocumentSetClient()) { var dto = await t.NewDocumentSet().ConfigureAwait(false); return(new AsycudaDocumentSetEx(dto)); } }
public async Task DeleteDocuments(int docSetId) { try { using (var t = new DocumentSetClient()) { await t.DeleteDocuments(docSetId).ConfigureAwait(false); } } catch (FaultException <ValidationFault> e) { throw new Exception(e.Detail.Message, e.InnerException); } catch (Exception ex) { Debugger.Break(); throw; } }
public async Task SaveAsycudaDocumentSetEx(AsycudaDocumentSetEx asycudaDocumentSetEx) { try { using (var t = new DocumentSetClient()) { await t.SaveAsycudaDocumentSetEx(asycudaDocumentSetEx.DTO).ConfigureAwait(false); } } catch (FaultException <ValidationFault> e) { throw new Exception(e.Detail.Message, e.InnerException); } catch (Exception ex) { Debugger.Break(); throw; } }
public async Task ExportDocSet(int docSetId, string directoryName) { try { using (var t = new DocumentSetClient()) { await t.ExportDocSet(docSetId, directoryName).ConfigureAwait(false); } } catch (FaultException <ValidationFault> e) { throw new Exception(e.Detail.Message, e.InnerException); } catch (Exception ex) { Debugger.Break(); throw; } }
public async Task ImportDocuments(int asycudaDocumentSetId, bool onlyRegisteredDocuments, bool importTariffCodes, bool noMessages, bool overwriteExisting, bool linkPi, List <string> fileNames) { try { using (var t = new DocumentSetClient()) { await t.ImportDocuments(asycudaDocumentSetId, fileNames, onlyRegisteredDocuments, importTariffCodes, noMessages, overwriteExisting, linkPi).ConfigureAwait(false); } } catch (FaultException <ValidationFault> e) { throw new Exception(e.Detail.Message, e.InnerException); } catch (Exception ex) { Debugger.Break(); throw; } }