public async Task WriteCreditHistoryAsync(string account1CCode, string client1CCode, byte[] signedXml, byte[] unSignedXml, int clientTimeZone, CTErr error) => await ExecuteWithTryCatchAsync <WCFServiceNBCH>(() => ServiceNBCH.WriteCreditHistoryAsync(account1CCode, client1CCode, signedXml, unSignedXml, clientTimeZone, error), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, account1CCode: {account1CCode}," + " client1CCode: {client1CCode}, signedXml {signedXml} байт, unSignedXml {unSignedXml} байт," + " clientTimeZone: {clientTimeZone}, error: {error} .", "WriteCreditHistoryAsync", account1CCode, client1CCode, signedXml?.Length.ToString() ?? "null", unSignedXml?.Length.ToString() ?? "null", clientTimeZone, error));
public Report GetSavedReport(int creditHistoryID) => ExecuteWithTryCatch <Report, WCFServiceNBCH>(() => ServiceNBCH.GetSavedReport(creditHistoryID), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, creditHistoryID: {creditHistoryID}.", "GetSavedReport", creditHistoryID));
public async Task <CreditHistoryInfo[]> GetCreditHistoryListByCreditHistoryIDAsync(int creditHistoryID) => await ExecuteWithTryCatchAsync <CreditHistoryInfo[], WCFServiceNBCH>(() => ServiceNBCH.GetCreditHistoryListByCreditHistoryIDAsync(creditHistoryID), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, creditHistoryID: {creditHistoryID}.", "GetCreditHistoryListByCreditHistoryIDAsync", creditHistoryID));
public CreditHistoryInfo[] GetCreditHistoryListByCreditHistoryID(int creditHistoryID) => ExecuteWithTryCatch <CreditHistoryInfo[], WCFServiceNBCH>(() => ServiceNBCH.GetCreditHistoryListByCreditHistoryID(creditHistoryID), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, creditHistoryID: {creditHistoryID}.", "GetCreditHistoryListByCreditHistoryID", creditHistoryID));
public async Task <CreditHistoryInfo[]> GetCreditHistoryListAsync(string client1CCode) => await ExecuteWithTryCatchAsync <CreditHistoryInfo[], WCFServiceNBCH>(() => ServiceNBCH.GetCreditHistoryListAsync(client1CCode), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, client1CCode: {client1CCode}.", "GetCreditHistoryListAsync", client1CCode));
public CreditHistoryInfo[] GetCreditHistoryList(string client1CCode) => ExecuteWithTryCatch <CreditHistoryInfo[], WCFServiceNBCH>(() => ServiceNBCH.GetCreditHistoryList(client1CCode), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, client1CCode: {client1CCode}.", "GetCreditHistoryList", client1CCode));
public async Task <SearchClientList[]> SearchClientAsync(string fio) => await ExecuteWithTryCatchAsync <SearchClientList[], WCFServiceNBCH>(() => ServiceNBCH.SearchClientAsync(fio), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, fio: {fio}.", "SearchClientAsync", fio));
public SearchClientList[] SearchClient(string fio) => ExecuteWithTryCatch <SearchClientList[], WCFServiceNBCH>(() => ServiceNBCH.SearchClient(fio), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, fio: {fio}.", "SearchClient", fio));
public async Task <Report> GetSavedReportAsync(int creditHistoryID) => await ExecuteWithTryCatchAsync <Report, WCFServiceNBCH>(() => ServiceNBCH.GetSavedReportAsync(creditHistoryID), new LogShortMessage("Ошибка вызова метода. Метод: {methodName}, creditHistoryID: {creditHistoryID}.", "GetSavedReportAsync", creditHistoryID));